JVM IR: fix names of $annotations methods for internal properties
#KT-40384 Fixed
This commit is contained in:
@@ -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
|
||||
}
|
||||
+3
@@ -17,4 +17,7 @@ class C {
|
||||
|
||||
@Anno
|
||||
val returnType: Z get() = Z(0)
|
||||
|
||||
@Anno
|
||||
internal val Z.internal: Int get() = 0
|
||||
}
|
||||
|
||||
+2
@@ -17,6 +17,8 @@ public final class AnnotatedPropertyWithInlineClassTypeInSignatureKt {
|
||||
public final class C {
|
||||
// source: 'annotatedPropertyWithInlineClassTypeInSignature.kt'
|
||||
public method <init>(): void
|
||||
public synthetic deprecated static @Anno method getInternal-IQRRRT4$test_module$annotations(p0: int): void
|
||||
public final method getInternal-IQRRRT4$test_module(p0: int): int
|
||||
public synthetic deprecated static @Anno method getMemberExtension-IQRRRT4$annotations(p0: int): void
|
||||
public final method getMemberExtension-IQRRRT4(p0: int): int
|
||||
public synthetic deprecated static @Anno method getReturnType-a_XrcN0$annotations(): void
|
||||
|
||||
Reference in New Issue
Block a user