blob: 61ff0c223ee7e226026873baf8a5c3f4bf1992b5 (
plain) (
tree)
|
|
abstract class Foo {
class Inner {
def inner: int = 1;
}
def foo: Inner;
}
trait Bar {
type Inner;
def foo: Inner = foo;
}
class Test extends Foo with Bar {
Console.println(foo.inner);
}
|