blob: debc99e199f47d82a12b0f08f24f0e8e7ac6b417 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
class C { object O }
trait T { _: C =>
def foo {
class D { O }
new D
}
}
object Test extends C with T {
def main(args: Array[String]): Unit = {
foo
}
}
|