Files
Mikhail Glukhikh 38b70e8423 Convert 'simplify when' from intention to inspection
Related to KT-20492

GitOrigin-RevId: e3389a9c167173c76132a827673fb9892e59b7d5
2017-11-10 15:34:11 +03:00

8 lines
127 B
Kotlin

fun test(i: Int) {
val x = <caret>when {
i == 1 -> 1
false -> 2
true -> 3
else -> 4
}
}