blob: cd4a8762ca411980501c32006c0f6f2abb4e87b7 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
class A {
private val a: Int = 0
private[this] val b: Int = 0
class B extends A {
def foo(a: A) = a.a // okay
println(this.a) // wait, what?
println(this.b) // wait, what?
}
}
|