Files
kotlin-fork/compiler/testData/ir/irText/expressions/kt50028.kt.txt
T
2021-12-06 17:24:06 +03:00

19 lines
247 B
Kotlin
Vendored

fun test_1(): String {
return when {
else -> { // BLOCK
return ""
}
}
}
fun test_2(b: Boolean): Boolean {
return when {
b -> { // BLOCK
true
}
else -> { // BLOCK
throw NotImplementedError()
}
}
}