I wonder what it means to declare private[this]in an object definition? Does this make sense to me in defining a class, but in an object?
how in:
object Test {
private[this] val t: Int = 5
}
who cares:
object Test {
private val t: Int = 5
}
source
share