fun WithCompanion.test() { val test1: = { // BLOCK local class : WithCompanion { constructor() /* primary */ { super/*WithCompanion*/(a = Companion) /* () */ } } () } val test2: = { // BLOCK local class : WithCompanion { constructor() /* primary */ { super/*WithCompanion*/(a = Companion.foo()) /* () */ } } () } } open class WithCompanion { constructor(a: Companion) /* primary */ { super/*Any*/() /* () */ } companion object Companion { private constructor() /* primary */ { super/*Any*/() /* () */ } fun foo(): Companion { return } } }