Files
kotlin-fork/idea/testData/quickfix/when/beforeNoElseInWhenWithBranches.kt
T
2012-10-25 18:55:52 +04:00

8 lines
167 B
Kotlin

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