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

13 lines
193 B
Kotlin
Vendored

// WITH_RUNTIME
fun test() {
val x = <caret>when {
false -> {
println(1)
1
}
else -> {
println(2)
2
}
}
}