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:
committed by
Space Team
parent
326b6fa7c2
commit
9c995755f0
-6
@@ -469,12 +469,6 @@ public class FirLightTreeBytecodeListingTestGenerated extends AbstractFirLightTr
|
|||||||
runTest("compiler/testData/codegen/bytecodeListing/annotations/repeatable/nonRepeatedAnnotationWithItsContainer.kt");
|
runTest("compiler/testData/codegen/bytecodeListing/annotations/repeatable/nonRepeatedAnnotationWithItsContainer.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("propertyGetterSeveralUseSiteTargets.kt")
|
|
||||||
public void testPropertyGetterSeveralUseSiteTargets() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/bytecodeListing/annotations/repeatable/propertyGetterSeveralUseSiteTargets.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("propertyGetterUseSiteTarget.kt")
|
@TestMetadata("propertyGetterUseSiteTarget.kt")
|
||||||
public void testPropertyGetterUseSiteTarget() throws Exception {
|
public void testPropertyGetterUseSiteTarget() throws Exception {
|
||||||
|
|||||||
-6
@@ -469,12 +469,6 @@ public class FirPsiBytecodeListingTestGenerated extends AbstractFirPsiBytecodeLi
|
|||||||
runTest("compiler/testData/codegen/bytecodeListing/annotations/repeatable/nonRepeatedAnnotationWithItsContainer.kt");
|
runTest("compiler/testData/codegen/bytecodeListing/annotations/repeatable/nonRepeatedAnnotationWithItsContainer.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("propertyGetterSeveralUseSiteTargets.kt")
|
|
||||||
public void testPropertyGetterSeveralUseSiteTargets() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/bytecodeListing/annotations/repeatable/propertyGetterSeveralUseSiteTargets.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("propertyGetterUseSiteTarget.kt")
|
@TestMetadata("propertyGetterUseSiteTarget.kt")
|
||||||
public void testPropertyGetterUseSiteTarget() throws Exception {
|
public void testPropertyGetterUseSiteTarget() throws Exception {
|
||||||
|
|||||||
-18
@@ -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
|
|
||||||
-25
@@ -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
|
|
||||||
}
|
|
||||||
-6
@@ -469,12 +469,6 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
|
|||||||
runTest("compiler/testData/codegen/bytecodeListing/annotations/repeatable/nonRepeatedAnnotationWithItsContainer.kt");
|
runTest("compiler/testData/codegen/bytecodeListing/annotations/repeatable/nonRepeatedAnnotationWithItsContainer.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
@TestMetadata("propertyGetterSeveralUseSiteTargets.kt")
|
|
||||||
public void testPropertyGetterSeveralUseSiteTargets() throws Exception {
|
|
||||||
runTest("compiler/testData/codegen/bytecodeListing/annotations/repeatable/propertyGetterSeveralUseSiteTargets.kt");
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("propertyGetterUseSiteTarget.kt")
|
@TestMetadata("propertyGetterUseSiteTarget.kt")
|
||||||
public void testPropertyGetterUseSiteTarget() throws Exception {
|
public void testPropertyGetterUseSiteTarget() throws Exception {
|
||||||
|
|||||||
Reference in New Issue
Block a user