blob: c2f027a21a945a674a7ec15db2c57f41effa0f1d (
plain) (
tree)
|
|
class A {
private[this] def f1(): Unit = {}
protected[this] def f2(): Unit = {}
private[A] def f3(): Unit = {}
}
class B extends A {
f1()
super.f1()
def otherb(b2: B) = b2.f2()
f3()
super.f3()
}
|