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

14 lines
197 B
Kotlin
Vendored

abstract class Base {
abstract var x: Int
abstract var y: Int
constructor() {
x = 42
this.y = 24
val temp = this.x
this.x = y
y = temp
}
}