1 2 3 4 5 6 7 8 9 10 11 12
class Outer { class Inner } object Test { def test = { val a: Outer#Inner = { val o = new Outer new o.Inner } } }