5abb6bc7a5
#KT-24556 Fixed
9 lines
165 B
Kotlin
Vendored
9 lines
165 B
Kotlin
Vendored
// "Remove branch" "true"
|
|
fun test(x: Int): String {
|
|
return when (x) {
|
|
1 -> "1"
|
|
2 -> "2"
|
|
<caret>null -> "null"
|
|
else -> ""
|
|
}
|
|
} |