Files
kotlin-fork/compiler/testData/ir/irText/firProblems/VarInInit.kt.txt
T
2020-11-26 00:14:25 +03:00

23 lines
287 B
Plaintext
Vendored

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