Rename: Fix name quoting for automatic renamers
#KT-13282 Fixed #KT-13283 Fixed
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
class `A B` {}
|
||||
|
||||
val THAT_A_B: `A B` = `A B`()
|
||||
val A_B: `A B` = `A B`()
|
||||
|
||||
fun localize(anA: `A B`, aPrefixedA: `A B`) {
|
||||
val `a BVal`: `A B` = `A B`()
|
||||
val `prefixedA BVal`: `A B` = `A B`()
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": "MARKED_ELEMENT",
|
||||
"mainFile": "test/test.kt",
|
||||
"newName": "A B",
|
||||
"withRuntime": "true"
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
class /*rename*/SomeName {}
|
||||
|
||||
val THAT_SOME_NAME: SomeName = SomeName()
|
||||
val SOME_NAME: SomeName = SomeName()
|
||||
|
||||
fun localize(someNamePar: SomeName, prefixedSomeNamePar: SomeName) {
|
||||
val someNameVal: SomeName = SomeName()
|
||||
val prefixedSomeNameVal: SomeName = SomeName()
|
||||
}
|
||||
Reference in New Issue
Block a user