Move: Use KtNamedDeclaration as referrer when reporting a conflict
EA-103817 Fixed
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
package source
|
||||
|
||||
private class X
|
||||
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package target
|
||||
|
||||
import source.X
|
||||
|
||||
class Test {
|
||||
init {
|
||||
X()
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package source
|
||||
|
||||
private class X
|
||||
|
||||
class <caret>Test {
|
||||
init {
|
||||
X()
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
Class Test uses class X which will be inaccessible after move
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"mainFile": "source/Foo.kt",
|
||||
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
|
||||
"targetPackage": "target"
|
||||
}
|
||||
Reference in New Issue
Block a user