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