Move: Drop ${...} around shortened qualified expression
#KT-22692 Fixed
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
package bar
|
||||
|
||||
val someVal = ""
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package foo
|
||||
|
||||
import bar.someVal
|
||||
|
||||
fun usage() {
|
||||
println("Usage: $someVal")
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package foo
|
||||
|
||||
val <caret>someVal = ""
|
||||
|
||||
fun usage() {
|
||||
println("Usage: $someVal")
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"mainFile": "foo/test.kt",
|
||||
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
|
||||
"targetPackage": "bar"
|
||||
}
|
||||
Reference in New Issue
Block a user