Fixed updating Java references on moved Kotlin top-level callables.

This commit is contained in:
Evgeny Gerashchenko
2015-03-24 18:48:23 +03:00
parent 5b05c60858
commit f789933683
60 changed files with 264 additions and 124 deletions
@@ -0,0 +1,9 @@
// TODO Import of old package stays here because of a bug
import newPackage.NewPackagePackage;
import oldPackage.OldPackagePackage;
class JavaUsage {
public static void main(String[] args) {
NewPackagePackage.foo();
}
}
@@ -0,0 +1,8 @@
// TODO Import of old package stays here because of a bug
import oldPackage.OldPackagePackage;
class JavaUsage {
public static void main(String[] args) {
OldPackagePackage.foo();
}
}
@@ -0,0 +1,5 @@
package oldPackage
fun <caret>foo() {
}
@@ -0,0 +1,5 @@
{
"mainFile": "oldPackage/fun.kt",
"type": "MOVE_KOTLIN_TOP_LEVEL_DECLARATIONS",
"targetPackage": "newPackage"
}