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

8 lines
175 B
Kotlin
Vendored

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