Files
kotlin-fork/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.kt.txt
T
Dmitriy Novozhilov b454fcc1e0 [FIR] Save IR dumps to .ir.txt files instead of .txt in tests
This is needed to avoid clashes between different dumps from different
  handlers
2021-10-12 17:26:36 +03:00

29 lines
537 B
Plaintext
Vendored

val n: Any?
field = null
get
enum class En : Enum<En> {
private constructor(x: String?) /* primary */ {
super/*Enum*/<En>()
/* <init>() */
}
val x: String?
field = x
get
ENTRY = En(x = { // BLOCK
val tmp0_safe_receiver: Any? = <get-n>()
when {
EQEQ(arg0 = tmp0_safe_receiver, arg1 = null) -> null
else -> tmp0_safe_receiver.toString()
}
})
fun values(): Array<En> /* Synthetic body for ENUM_VALUES */
fun valueOf(value: String): En /* Synthetic body for ENUM_VALUEOF */
}