Rename: Fix name quoting for automatic renamers

#KT-13282 Fixed
 #KT-13283 Fixed
This commit is contained in:
Alexey Sedunov
2016-08-10 17:10:56 +03:00
parent a5da9e81a0
commit 385640c86f
7 changed files with 35 additions and 1 deletions
@@ -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`()
}
@@ -0,0 +1,6 @@
{
"type": "MARKED_ELEMENT",
"mainFile": "test/test.kt",
"newName": "A B",
"withRuntime": "true"
}
@@ -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()
}