Minor, add regression test for KT-62788
This commit is contained in:
committed by
Space Team
parent
6b6808d87c
commit
555b35d894
+6
@@ -376,6 +376,12 @@ public class FirLightTreeBytecodeListingTestGenerated extends AbstractFirLightTr
|
|||||||
runTest("compiler/testData/codegen/bytecodeListing/annotations/kt43459.kt");
|
runTest("compiler/testData/codegen/bytecodeListing/annotations/kt43459.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("kt62788.kt")
|
||||||
|
public void testKt62788() {
|
||||||
|
runTest("compiler/testData/codegen/bytecodeListing/annotations/kt62788.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt9320.kt")
|
@TestMetadata("kt9320.kt")
|
||||||
public void testKt9320() {
|
public void testKt9320() {
|
||||||
|
|||||||
+6
@@ -376,6 +376,12 @@ public class FirPsiBytecodeListingTestGenerated extends AbstractFirPsiBytecodeLi
|
|||||||
runTest("compiler/testData/codegen/bytecodeListing/annotations/kt43459.kt");
|
runTest("compiler/testData/codegen/bytecodeListing/annotations/kt43459.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("kt62788.kt")
|
||||||
|
public void testKt62788() {
|
||||||
|
runTest("compiler/testData/codegen/bytecodeListing/annotations/kt62788.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt9320.kt")
|
@TestMetadata("kt9320.kt")
|
||||||
public void testKt9320() {
|
public void testKt9320() {
|
||||||
|
|||||||
@@ -0,0 +1,16 @@
|
|||||||
|
@Retention(AnnotationRetention.BINARY)
|
||||||
|
annotation class MyAnnotation
|
||||||
|
|
||||||
|
interface MyInterface {
|
||||||
|
@MyAnnotation
|
||||||
|
fun foo() {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
interface I1 : MyInterface
|
||||||
|
|
||||||
|
interface I2 : MyInterface {
|
||||||
|
override fun foo() {}
|
||||||
|
}
|
||||||
|
|
||||||
|
class MyClass : I1, I2
|
||||||
@@ -0,0 +1,56 @@
|
|||||||
|
@kotlin.Metadata
|
||||||
|
public final class I1$DefaultImpls {
|
||||||
|
// source: 'kt62788.kt'
|
||||||
|
public static @MyAnnotation method foo(@org.jetbrains.annotations.NotNull p0: I1): void
|
||||||
|
public final inner class I1$DefaultImpls
|
||||||
|
public final inner class MyInterface$DefaultImpls
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public interface I1 {
|
||||||
|
// source: 'kt62788.kt'
|
||||||
|
public final inner class I1$DefaultImpls
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class I2$DefaultImpls {
|
||||||
|
// source: 'kt62788.kt'
|
||||||
|
public static method foo(@org.jetbrains.annotations.NotNull p0: I2): void
|
||||||
|
public final inner class I2$DefaultImpls
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public interface I2 {
|
||||||
|
// source: 'kt62788.kt'
|
||||||
|
public abstract method foo(): void
|
||||||
|
public final inner class I2$DefaultImpls
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.annotation.Retention(value=BINARY)
|
||||||
|
@java.lang.annotation.Retention(value=CLASS)
|
||||||
|
@kotlin.Metadata
|
||||||
|
public annotation class MyAnnotation {
|
||||||
|
// source: 'kt62788.kt'
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class MyClass {
|
||||||
|
// source: 'kt62788.kt'
|
||||||
|
public method <init>(): void
|
||||||
|
public @MyAnnotation method foo(): void
|
||||||
|
public final inner class I2$DefaultImpls
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public final class MyInterface$DefaultImpls {
|
||||||
|
// source: 'kt62788.kt'
|
||||||
|
public static @MyAnnotation method foo(@org.jetbrains.annotations.NotNull p0: MyInterface): void
|
||||||
|
public final inner class MyInterface$DefaultImpls
|
||||||
|
}
|
||||||
|
|
||||||
|
@kotlin.Metadata
|
||||||
|
public interface MyInterface {
|
||||||
|
// source: 'kt62788.kt'
|
||||||
|
public abstract @MyAnnotation method foo(): void
|
||||||
|
public final inner class MyInterface$DefaultImpls
|
||||||
|
}
|
||||||
+6
@@ -13491,6 +13491,12 @@ public class JvmAbiConsistencyTestRestGenerated extends AbstractJvmAbiConsistenc
|
|||||||
runTest("compiler/testData/codegen/bytecodeListing/annotations/kt43459.kt");
|
runTest("compiler/testData/codegen/bytecodeListing/annotations/kt43459.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("kt62788.kt")
|
||||||
|
public void testKt62788() {
|
||||||
|
runTest("compiler/testData/codegen/bytecodeListing/annotations/kt62788.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt9320.kt")
|
@TestMetadata("kt9320.kt")
|
||||||
public void testKt9320() {
|
public void testKt9320() {
|
||||||
|
|||||||
+6
@@ -376,6 +376,12 @@ public class IrBytecodeListingTestGenerated extends AbstractIrBytecodeListingTes
|
|||||||
runTest("compiler/testData/codegen/bytecodeListing/annotations/kt43459.kt");
|
runTest("compiler/testData/codegen/bytecodeListing/annotations/kt43459.kt");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
@TestMetadata("kt62788.kt")
|
||||||
|
public void testKt62788() {
|
||||||
|
runTest("compiler/testData/codegen/bytecodeListing/annotations/kt62788.kt");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@TestMetadata("kt9320.kt")
|
@TestMetadata("kt9320.kt")
|
||||||
public void testKt9320() {
|
public void testKt9320() {
|
||||||
|
|||||||
Reference in New Issue
Block a user