Files
kotlin-fork/compiler/testData/diagnostics/tests/constructorConsistency/derivedProperty.kt
T

12 lines
175 B
Kotlin
Vendored

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() {}