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