Make DescriptorRenderer escape names with dollars and other characters

#KT-5791 Fixed
This commit is contained in:
Alexander Udalov
2014-09-17 19:55:04 +04:00
parent 483232a3e5
commit 9434114c45
7 changed files with 52 additions and 17 deletions
@@ -1,17 +1,17 @@
package test
internal final annotation class $$$$$$ : kotlin.Annotation {
/*primary*/ public constructor $$$$$$()
internal final annotation class `$$$$$$` : kotlin.Annotation {
/*primary*/ public constructor `$$$$$$`()
}
test.$$$$$$() internal final class A {
test.`$$$$$$`() internal final class A {
/*primary*/ public constructor A()
}
internal final annotation class Anno$tation : kotlin.Annotation {
/*primary*/ public constructor Anno$tation()
internal final annotation class `Anno$tation` : kotlin.Annotation {
/*primary*/ public constructor `Anno$tation`()
}
test.Anno$tation() internal final class Cla$s {
/*primary*/ public constructor Cla$s()
test.`Anno$tation`() internal final class `Cla$s` {
/*primary*/ public constructor `Cla$s`()
}