object Z { var counter: Int field = 0 get set val aLambda: Function0 field = local fun () { Z.( = 1) Z.foo() Z.( = 1) Z.foo() } get val anObject: Any field = { // BLOCK local class { init { Z.( = 1) Z.foo() Z.( = 1) Z.foo() } constructor() /* primary */ { super/*Any*/() /* () */ } fun test() { Z.( = 1) Z.foo() Z.( = 1) Z.foo() } } () } get class Nested { init { Z.( = 1) Z.foo() Z.( = 1) Z.foo() } constructor() /* primary */ { super/*Any*/() /* () */ } fun test() { Z.( = 1) Z.foo() Z.( = 1) Z.foo() } } private constructor() /* primary */ { super/*Any*/() /* () */ } fun aFun() { withLambda(f = local fun () { Z.( = 1) Z.foo() Z.( = 1) Z.foo() } ) } fun bar() { .( = 1) .foo() Z.( = 1) Z.foo() } fun foo() { } } fun Z.test() { .( = 1) .foo() Z.( = 1) Z.foo() } fun withLambda(f: Function0) { }