11 lines
223 B
Kotlin
Vendored
11 lines
223 B
Kotlin
Vendored
// "Move else branch to the end" "true"
|
|
fun test() {
|
|
val a = 12
|
|
when (a) {
|
|
1 -> { /* some code */ }
|
|
el<caret>se -> { /* other code */ }
|
|
2 -> { /* some more code */ }
|
|
}
|
|
}
|
|
/* IGNORE_FIR */
|