mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 08:31:26 +00:00
Use ClassId instead of JvmClassName in KotlinJvmBinaryClass
ClassId contains exact information about origin of the class (e.g. if '$' in the class name denotes nested classes separator or just a character in the name)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package test
|
||||
|
||||
//this test relies on particular heuristic implemntation, can become irrelevant should implementation change
|
||||
annotation class `$$$$$$`
|
||||
annotation class `Anno$tation`
|
||||
|
||||
`$$$$$$`class A
|
||||
`$$$$$$` class A
|
||||
`Anno$tation` class `Cla$s`
|
||||
|
||||
@@ -6,4 +6,12 @@ internal final annotation class $$$$$$ : kotlin.Annotation {
|
||||
|
||||
test.$$$$$$() internal final class A {
|
||||
/*primary*/ public constructor A()
|
||||
}
|
||||
}
|
||||
|
||||
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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user