update backing field references when renaming Kotlin property
#KT-7905 Fixed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
package testing.rename
|
||||
|
||||
class Foo {
|
||||
companion object {
|
||||
val SECOND = 111
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package testing;
|
||||
|
||||
import testing.rename.*;
|
||||
|
||||
class JavaClient {
|
||||
public int foo() {
|
||||
return Foo.SECOND;
|
||||
}
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
package testing.rename
|
||||
|
||||
class Foo {
|
||||
companion object {
|
||||
val FIRST = 111
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
package testing;
|
||||
|
||||
import testing.rename.*;
|
||||
|
||||
class JavaClient {
|
||||
public int foo() {
|
||||
return Foo.FIRST;
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "KOTLIN_PROPERTY",
|
||||
"classId": "testing/rename/Foo.Companion",
|
||||
"oldName": "FIRST",
|
||||
"newName": "SECOND"
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package testing.rename
|
||||
|
||||
object Foo {
|
||||
val SECOND = 111
|
||||
}
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
package testing;
|
||||
|
||||
import testing.rename.*;
|
||||
|
||||
class JavaClient {
|
||||
public int foo() {
|
||||
return Foo.SECOND;
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package testing.rename
|
||||
|
||||
object Foo {
|
||||
val FIRST = 111
|
||||
}
|
||||
Vendored
+9
@@ -0,0 +1,9 @@
|
||||
package testing;
|
||||
|
||||
import testing.rename.*;
|
||||
|
||||
class JavaClient {
|
||||
public int foo() {
|
||||
return Foo.FIRST;
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "KOTLIN_PROPERTY",
|
||||
"classId": "testing/rename/Foo",
|
||||
"oldName": "FIRST",
|
||||
"newName": "SECOND"
|
||||
}
|
||||
Reference in New Issue
Block a user