Improve: add more cases for MoveVariableDeclarationIntoWhen
#KT-30499 Fixed
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
fun test() = true
|
||||
|
||||
fun foo() {
|
||||
val b = !when (test()) {
|
||||
true -> true
|
||||
else -> false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user