Files
kotlin-fork/compiler/testData/ir/irText/expressions/kt48708.fir.kt.txt
T
2021-09-13 16:22:50 +03:00

14 lines
165 B
Plaintext
Vendored

fun test(b: Boolean) {
val x: Int = when {
b -> 3
else -> { // BLOCK
throw Exception()
0
}
}
takeInt(x = x)
}
fun takeInt(x: Int) {
}