Move: Fix processing of conflicting usages
Exclude conflict-associated usages from refactoring. Move search of file internal usages to MoveKotlinDeclarationsProcessor
This commit is contained in:
+2
-2
@@ -1,5 +1,5 @@
|
||||
package a2
|
||||
|
||||
import b.internalTargetVal
|
||||
import a1.internalTargetVal
|
||||
|
||||
internal val sourceVal = b.internalTargetVal
|
||||
internal val sourceVal = internalTargetVal
|
||||
+1
-2
@@ -1,3 +1,2 @@
|
||||
Property a1.internalTargetVal, referenced in file internalSource.kt, will not be accessible from module A
|
||||
Property a1.internalTargetVal, referenced in file internalSource.kt, will not be accessible from module A
|
||||
Property sourceVal uses property internalTargetVal which will be inaccessible after move
|
||||
Property a1.internalTargetVal, referenced in file internalSource.kt, will not be accessible from module A
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
package a
|
||||
|
||||
val val2 = target.val1
|
||||
val val2 = val1
|
||||
-1
@@ -1,2 +1 @@
|
||||
Property a.val1, referenced in file test.kt, will not be accessible from module A
|
||||
Property a.val1, referenced in file test.kt, will not be accessible from module A
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
package a2
|
||||
|
||||
import b.internalTargetVal
|
||||
import a1.internalTargetVal
|
||||
Reference in New Issue
Block a user