Files
kotlin-fork/compiler/testData/ir/irText/expressions/temporaryInInitBlock.kt.txt
T
Vladimir Sukharev bae8b283c7 [IR] Normalize temp var names in Kotlin-like dump
^KT-61983 Fixed
2023-10-11 07:49:35 +00:00

22 lines
296 B
Kotlin
Vendored

class C {
constructor(x: Any?) /* primary */ {
super/*Any*/()
/* <init>() */
}
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()
}
}
}
}