Rename: Quote non-identifier names in Kotlin references
#KT-9156 Fixed
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
public class JFoo {
|
||||
public void fun() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun test(foo: JFoo) {
|
||||
foo.`fun`()
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
public class JFoo {
|
||||
public void /*rename*/foo() {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fun test(foo: JFoo) {
|
||||
foo.foo()
|
||||
}
|
||||
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"type": "MARKED_ELEMENT",
|
||||
"mainFile": "JFoo.java",
|
||||
"newName": "fun"
|
||||
}
|
||||
Reference in New Issue
Block a user