Move: Do not process imported references when moving entire file
#KT-17538 Fixed
This commit is contained in:
+1
-1
@@ -16,6 +16,6 @@ public fun test(a: A) {
|
||||
a.bar()
|
||||
a.foo()
|
||||
B().foo().bar()
|
||||
B().foo().bar()
|
||||
library.B().foo().bar()
|
||||
B().bar().foo()
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package one
|
||||
|
||||
class ImportedWithAlias
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package three
|
||||
|
||||
import one.ImportedWithAlias as WithAlias
|
||||
|
||||
val v1 = WithAlias()
|
||||
val v2 = 2
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package one
|
||||
|
||||
class ImportedWithAlias
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
package two
|
||||
|
||||
import one.ImportedWithAlias as WithAlias
|
||||
|
||||
val v1 = WithAlias()
|
||||
val v2 = 2
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"mainFile": "two/Source.kt",
|
||||
"type": "MOVE_FILES",
|
||||
"targetPackage": "three"
|
||||
}
|
||||
Reference in New Issue
Block a user