Move: Fix replacement of non-code usages with backquoted names

#KT-13986 Fixed
This commit is contained in:
Alexey Sedunov
2018-02-21 14:23:07 +03:00
parent a194eb94cf
commit d06f23f2ba
6 changed files with 30 additions and 2 deletions
@@ -0,0 +1,3 @@
package code.`in`.comments2
class MyTest
@@ -0,0 +1,5 @@
package code.`in`.comments
fun main(args: Array<String>) {
// code.`in`.comments2.MyTest
}
@@ -0,0 +1,7 @@
package code.`in`.comments
class <caret>MyTest
fun main(args: Array<String>) {
// code.`in`.comments.MyTest
}
@@ -0,0 +1,5 @@
{
"mainFile": "test.kt",
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetPackage": "code.`in`.comments2"
}