Rename: Update references to facade class when renaming file via matching top-level class
#KT-11903 Fixed (cherry picked from commit a1d9a25)
This commit is contained in:
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
package foo
|
||||
|
||||
class TopLevel2 {}
|
||||
fun topMe() {}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
package foo;
|
||||
|
||||
public class TopUser {
|
||||
public void use() {
|
||||
TopLevel2Kt.topMe();
|
||||
}
|
||||
}
|
||||
Vendored
+4
@@ -0,0 +1,4 @@
|
||||
package foo
|
||||
|
||||
class /*rename*/TopLevel {}
|
||||
fun topMe() {}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
package foo;
|
||||
|
||||
public class TopUser {
|
||||
public void use() {
|
||||
TopLevelKt.topMe();
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "MARKED_ELEMENT",
|
||||
"mainFile": "foo/TopLevel.kt",
|
||||
"newName": "TopLevel2",
|
||||
"withRuntime": "true"
|
||||
}
|
||||
Reference in New Issue
Block a user