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

5 lines
115 B
Plaintext
Vendored

// ERROR: 'when' expression must be exhaustive, add necessary 'else' branch
fun test() {
val x = when {
}
}