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

6 lines
83 B
Kotlin
Vendored

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