Files
kotlin-fork/compiler/testData/ir/irText/expressions/whenUnusedExpression.kt.txt
T
2020-11-26 00:14:55 +03:00

16 lines
287 B
Plaintext
Vendored

fun test(b: Boolean, i: Int) {
when {
b -> { // BLOCK
{ // BLOCK
val tmp0_subject: Int = i
when {
EQEQ(arg0 = tmp0_subject, arg1 = 0) -> 1 /*~> Unit */
else -> null /*~> Unit */
}
}
}
else -> null /*~> Unit */
}
}