// ISSUE: KT-55493 // WITH_STDLIB val Some.z: String get() = "ok" class Some { val x: String val y: String init { x = "ok" x = "error" z = "error" fun foo() { x = "error" y = "error" z = "error" } } val a: String = run { // these are all on this@run, which is not guaranteed to be this@Some x = "error" y = "error" z = "error" "hello" } val b: String = 123.run { // now this@run is an Int, so these are on this@Some x = "error" y = "ok" y = "error" z = "error" "there" } init { x = "error" y = "error" z = "error" } }