Convert 'simplify when' from intention to inspection
Related to KT-20492
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
fun test(i: Int) {
|
||||
val x = <caret>when {
|
||||
i == 1 -> 1
|
||||
false -> 2
|
||||
true -> 3
|
||||
else -> 4
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user