Move: Fix internal reference processing on moving multiple files

#KT-17211 Fixed
This commit is contained in:
Alexey Sedunov
2017-04-03 16:17:55 +03:00
parent a8a9c3bbf4
commit 746ec48176
15 changed files with 50 additions and 13 deletions
@@ -0,0 +1,5 @@
package target
interface NamedFaceO
class NamedClassO : NamedFaceO
@@ -0,0 +1,5 @@
package target
interface NamedFaceN
class NamedClassN : NamedFaceN
@@ -0,0 +1,5 @@
package source
interface NamedFaceO
class NamedClassO : NamedFaceO
@@ -0,0 +1,5 @@
package source
interface NamedFaceN
class NamedClassN : NamedFaceN
@@ -0,0 +1,5 @@
{
"filesToMove": ["source/foo.kt", "source/bar.kt"],
"type": "MOVE_FILES_WITH_DECLARATIONS",
"targetDirectory": "target"
}
@@ -1,5 +1,5 @@
{
"mainFile": "A/src/a1/internalTarget.kt",
"filesToMove": ["A/src/a1/internalTarget.kt"],
"type": "MOVE_FILES_WITH_DECLARATIONS",
"targetDirectory": "B/src/b",
"withRuntime": "true"
@@ -1,5 +1,5 @@
{
"mainFile": "A/src/a/test.kt",
"filesToMove": ["A/src/a/test.kt"],
"type": "MOVE_FILES_WITH_DECLARATIONS",
"targetDirectory": "B/src/b",
"withRuntime": "true",
@@ -1,5 +1,5 @@
{
"mainFile": "A/src/a1/internalTarget.kt",
"filesToMove": ["A/src/a1/internalTarget.kt"],
"type": "MOVE_FILES_WITH_DECLARATIONS",
"targetDirectory": "B/src/b",
"withRuntime": "true"