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

23 lines
297 B
Kotlin
Vendored

class C {
val s: String?
get
init {
<this>.#s = { // BLOCK
val tmp_0: Any? = x
when {
EQEQ(arg0 = tmp_0, arg1 = null) -> null
else -> tmp_0.toString()
}
}
}
constructor(x: Any?) /* primary */ {
super/*Any*/()
/* <init>() */
}
}