Files

20 lines
248 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()
}
}
}