this@T
class C { val x: Int init { // valid ways to initialize: x = 1 this@C.x = 1 // invalid: someOtherC.x = 1 run { /*this@run.*/x = 1 } val self = this self.x = 1 } }
In this commit reporting on member properties in init section of class is not supported (see KT-55528) ^KT-55493 Fixed