MoveVariableDeclarationIntoWhenInspection should move caret to subject expression
#KT-31954 Fixed
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
fun test() = 42
|
||||
|
||||
fun foo() {
|
||||
when (val a = test()) {
|
||||
when (val <caret>a = test()) {
|
||||
1 -> a
|
||||
else -> 24
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user