Files
Kirill Rakhman b7866a3f12 Add inspection for when with only else (#1206)
Fixes #KT-12523

GitOrigin-RevId: 78950fa43da66ed7f79435eed9d69605b02b8d2f
2017-08-03 16:30:28 +03:00

5 lines
68 B
Kotlin

fun foo() {
val a = <caret>when ("") {
else -> 1
}
}