Files
kotlin-fork/compiler/testData/ir/irText/firProblems/VarInInit.kt.txt
T
2024-02-16 10:19:38 +00:00

23 lines
287 B
Kotlin
Vendored

class Some {
var foo: Int
field = foo
get
set
init {
when {
less(arg0 = <this>.<get-foo>(), arg1 = 0) -> { // BLOCK
<this>.<set-foo>(<set-?> = 0)
}
}
}
constructor(foo: Int) /* primary */ {
super/*Any*/()
/* <init>() */
}
}