Move: Fix reference binding for the case of default target package
#KT-6457 Fixed
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
class Y {
|
||||
fun foo() {
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package a
|
||||
|
||||
class X: Y() {
|
||||
fun main() {
|
||||
Y().foo()
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class <caret>X: Y() {
|
||||
fun main() {
|
||||
Y().foo()
|
||||
}
|
||||
}
|
||||
+4
@@ -0,0 +1,4 @@
|
||||
class Y {
|
||||
fun foo() {
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"mainFile": "X.kt",
|
||||
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
|
||||
"targetPackage": "a"
|
||||
}
|
||||
Reference in New Issue
Block a user