Convert 'simplify when' from intention to inspection
Related to KT-20492
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// WITH_RUNTIME
|
||||
fun test() {
|
||||
<caret>when {
|
||||
false -> {
|
||||
println(1)
|
||||
}
|
||||
else -> {
|
||||
println(2)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user