Files
kotlin-fork/idea/testData/quickfix/when/beforeNoElseInWhenWithBranches.kt
T

8 lines
175 B
Kotlin

// "Add else branch" "true"
fun test() {
val a = 12
val x = wh<caret>en (a) {
in 0..11 -> { /* some code */ }
12, 13, 14 -> { /* some code */ }
}
}