Move: Fix reference binding for the case of default target package

#KT-6457 Fixed
This commit is contained in:
Alexey Sedunov
2014-12-15 15:22:23 +03:00
parent bbbd46d9d6
commit bbf951ff03
7 changed files with 32 additions and 0 deletions
@@ -0,0 +1,7 @@
package a
class X: Y() {
fun main() {
Y().foo()
}
}
@@ -0,0 +1,5 @@
class <caret>X: Y() {
fun main() {
Y().foo()
}
}
@@ -0,0 +1,5 @@
{
"mainFile": "X.kt",
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetPackage": "a"
}