Files
kotlin-fork/idea/testData/inspectionsLocal/simplifyWhenWithBooleanConstantCondition/trueIsNotTop1.kt.after
T
Mikhail Glukhikh 7b2a66c006 Convert 'simplify when' from intention to inspection
Related to KT-20492
2017-11-10 15:34:11 +03:00

6 lines
83 B
Plaintext
Vendored

fun test(i: Int) {
val x = when {
i == 1 -> 1
else -> 3
}
}