Remove obsolete backend test on getter-targeted annotations

`@get:... get` is no longer allowed, see the explanation in KT-15470.
This commit is contained in:
Alexander Udalov
2023-05-17 23:11:11 +02:00
committed by Space Team
parent 326b6fa7c2
commit 9c995755f0
5 changed files with 0 additions and 61 deletions
@@ -1,18 +0,0 @@
// !LANGUAGE: +RepeatableAnnotations
// TARGET_BACKEND: JVM_IR
// WITH_STDLIB
// FULL_JDK
// JVM_TARGET: 1.8
// IGNORE_BACKEND_K1: JVM_IR
// ^ "c", "d" is not detected because of KT-48141.
// IGNORE_BACKEND_K2: JVM_IR
// FIR status: ["c", "d", "a", "b"] because of 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)
@get:A("a") @get:A("b")
val ab: Int
@get:A("c") @get:A("d") get() = 0
@@ -1,25 +0,0 @@
@kotlin.jvm.internal.RepeatableContainer
@java.lang.annotation.Retention(value=RUNTIME)
@kotlin.Metadata
public annotation class A$Container {
// source: 'propertyGetterSeveralUseSiteTargets.kt'
public abstract method value(): A[]
public inner class A$Container
}
@kotlin.annotation.Repeatable
@java.lang.annotation.Retention(value=RUNTIME)
@java.lang.annotation.Repeatable(value=A$Container::class)
@kotlin.Metadata
public annotation class A {
// source: 'propertyGetterSeveralUseSiteTargets.kt'
public abstract method v(): java.lang.String
public inner class A$Container
}
@kotlin.Metadata
public final class PropertyGetterSeveralUseSiteTargetsKt {
// source: 'propertyGetterSeveralUseSiteTargets.kt'
public final static @A$Container(value=[A(v="a"), A(v="b"), A(v="c"), A(v="d")]) method getAb(): int
public inner class A$Container
}