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

8 lines
121 B
Kotlin

// "Add else branch" "true"
fun test() {
val a = 12
val x = when (a) {
else -> {<caret>
}
}
}