Rename: Fix class rename by constructor reference

This commit is contained in:
Alexey Sedunov
2015-06-15 15:18:56 +03:00
parent 36ae8790a1
commit 1506531e59
6 changed files with 41 additions and 7 deletions
@@ -0,0 +1,8 @@
package testing.rename
public open class B() {
}
fun test() {
/*rename*/B()
}
@@ -0,0 +1,8 @@
package testing.rename
public open class A() {
}
fun test() {
/*rename*/A()
}
@@ -0,0 +1,6 @@
{
"type": "MARKED_ELEMENT",
"mainFile": "test.kt",
"newName": "B",
"byRef": "true"
}