JVM IR: fix names of $annotations methods for internal properties

#KT-40384 Fixed
This commit is contained in:
Alexander Udalov
2020-10-13 19:13:06 +02:00
parent 3f73be391f
commit fbf56c054b
9 changed files with 51 additions and 8 deletions
@@ -0,0 +1,9 @@
annotation class Anno
class C {
@Anno
internal val property: Int get() = 0
}
@Anno
internal val property: Int get() = 0
@@ -0,0 +1,20 @@
@java.lang.annotation.Retention
@kotlin.Metadata
public annotation class Anno {
// source: 'internalProperty.kt'
}
@kotlin.Metadata
public final class C {
// source: 'internalProperty.kt'
public method <init>(): void
public synthetic deprecated static @Anno method getProperty$test_module$annotations(): void
public final method getProperty$test_module(): int
}
@kotlin.Metadata
public final class InternalPropertyKt {
// source: 'internalProperty.kt'
public synthetic deprecated static @Anno method getProperty$annotations(): void
public final static method getProperty(): int
}