fun box(): String { val obj: = { // BLOCK local class { constructor() /* primary */ { super/*Any*/() /* () */ } val end: String field = "K" get fun foo(): String { return .Some(s = "O").bar() } local inner class Some : Base { constructor(s: String) /* primary */ { .super/*Base*/(s = s) /* () */ } fun bar(): String { return .().plus(other = .()) } } local open inner class Base { constructor(s: String) /* primary */ { super/*Any*/() /* () */ } val s: String field = s get } } () } return obj.foo() }