class Outer { constructor() /* primary */ { super/*Any*/() /* () */ } fun foo() { } inner class Inner { constructor() /* primary */ { super/*Any*/() /* () */ } fun test() { .foo() } inner class Inner2 { constructor() /* primary */ { super/*Any*/() /* () */ } fun test2() { .test() .foo() } fun Outer.test3() { .foo() } } } }