Files
kotlin-fork/idea/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsTop3.kt
T
2017-11-10 15:34:11 +03:00

11 lines
156 B
Kotlin
Vendored

// WITH_RUNTIME
fun test() {
wh<caret>en {
true -> {
println(1)
}
else -> {
println(2)
}
}
}