blob: 914c1b27ab31c685ade63055d264a78576454d5d (
plain) (
tree)
|
|
object Test {
trait A extends AnyRef {
def f : Int = 1
}
class B extends AnyRef with A {
override def f : Int = super[A].f
}
def main(args: Array[String]) =
Console.println(new B().f);
}
|