FIR: fix order of property accessor annotations
#KT-57219 Fixed
This commit is contained in:
committed by
Space Team
parent
9c995755f0
commit
40c628d431
Vendored
+6
-4
@@ -4,9 +4,6 @@
|
||||
// FULL_JDK
|
||||
// JVM_TARGET: 1.8
|
||||
|
||||
// IGNORE_BACKEND_K2: JVM_IR
|
||||
// FIR status: KT-57219 K2: incorrect relative order of normal and use-site-targeted annotations on property getter in the resulting bytecode
|
||||
|
||||
@Repeatable
|
||||
annotation class A(val v: String)
|
||||
|
||||
@@ -21,5 +18,10 @@ val ef: Int
|
||||
@A("e") @A("f") get() = 0
|
||||
|
||||
@get:A("g")
|
||||
val ghi: Int
|
||||
val gh: Int
|
||||
@A("h") get() = 0
|
||||
|
||||
@set:A("i")
|
||||
var ij: Int
|
||||
get() = 0
|
||||
@A("j") set(value) {}
|
||||
|
||||
Vendored
+3
-1
@@ -25,6 +25,8 @@ public final class PropertyGetterUseSiteTargetKt {
|
||||
public final static @A$Container(value=[A(v="a"), A(v="b")]) method getAb(): int
|
||||
public final static @A$Container(value=[A(v="c"), A(v="d")]) method getCd(): int
|
||||
public final static @A$Container(value=[A(v="e"), A(v="f")]) method getEf(): int
|
||||
public final static @A$Container(value=[A(v="g"), A(v="h")]) method getGhi(): int
|
||||
public final static @A$Container(value=[A(v="g"), A(v="h")]) method getGh(): int
|
||||
public final static method getIj(): int
|
||||
public final static @A$Container(value=[A(v="i"), A(v="j")]) method setIj(p0: int): void
|
||||
public inner class A$Container
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user