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:
Alexey Sedunov
2017-03-04 21:28:10 +03:00
parent a21f19d613
commit 13de9aea81
13 changed files with 88 additions and 58 deletions
@@ -1,5 +1,5 @@
package a2
import b.internalTargetVal
import a1.internalTargetVal
internal val sourceVal = b.internalTargetVal
internal val sourceVal = internalTargetVal
@@ -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,3 +1,3 @@
package a
val val2 = target.val1
val val2 = val1
@@ -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,3 +1,3 @@
package a2
import b.internalTargetVal
import a1.internalTargetVal