Files
kotlin-fork/idea/testData/quickfix/when/beforeElseNotLastInWhen.kt
T
2013-01-21 22:03:58 +04:00

9 lines
205 B
Kotlin

// "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 */ }
}
}