Move: Drop ${...} around shortened qualified expression

#KT-22692 Fixed
This commit is contained in:
Alexey Sedunov
2018-02-16 20:51:05 +03:00
parent e63e48933d
commit 91fdc0e967
12 changed files with 52 additions and 31 deletions
@@ -0,0 +1,3 @@
package bar
val someVal = ""
@@ -0,0 +1,7 @@
package foo
import bar.someVal
fun usage() {
println("Usage: $someVal")
}
@@ -0,0 +1,7 @@
package foo
val <caret>someVal = ""
fun usage() {
println("Usage: $someVal")
}
@@ -0,0 +1,5 @@
{
"mainFile": "foo/test.kt",
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetPackage": "bar"
}