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