KT-12152 : constructor consistency: handle open property accessing
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
interface Base {
|
||||
val x: Int
|
||||
}
|
||||
|
||||
open class Impl(override val x: Int) : Base {
|
||||
init {
|
||||
if (this.<!DEBUG_INFO_LEAKING_THIS!>x<!> != 0) foo()
|
||||
}
|
||||
}
|
||||
|
||||
fun foo() {}
|
||||
Reference in New Issue
Block a user