Tests: adjust test data for bytecode listing tests
- remove obsolete `IGNORE_BACKEND: JVM` directives - move contents of .ir.txt files to the corresponding .txt
This commit is contained in:
committed by
Space Team
parent
1cf04916d6
commit
968dfddbc9
Vendored
+1
-2
@@ -1,5 +1,4 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JVM
|
||||
// !LANGUAGE: +InstantiationOfAnnotationClasses
|
||||
|
||||
annotation class Foo(val int: Int)
|
||||
@@ -8,4 +7,4 @@ annotation class Bar
|
||||
|
||||
fun box() {
|
||||
val foo = Foo(42)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,50 +0,0 @@
|
||||
@java.lang.annotation.Retention(value=RUNTIME)
|
||||
@kotlin.Metadata
|
||||
public annotation class Ann {
|
||||
// source: 'kt9320.kt'
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets=[EXPRESSION])
|
||||
@kotlin.annotation.Retention(value=SOURCE)
|
||||
@java.lang.annotation.Retention(value=SOURCE)
|
||||
@java.lang.annotation.Target(value=[])
|
||||
@kotlin.Metadata
|
||||
public annotation class AnnExpr {
|
||||
// source: 'kt9320.kt'
|
||||
}
|
||||
|
||||
@Ann
|
||||
@kotlin.Metadata
|
||||
public final class Kt9320Kt$foo$v$1 {
|
||||
// source: 'kt9320.kt'
|
||||
enclosing method Kt9320Kt.foo()V
|
||||
inner (anonymous) class Kt9320Kt$foo$v$1
|
||||
method <init>(): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
final class Kt9320Kt$foo$w$1 {
|
||||
// source: 'kt9320.kt'
|
||||
enclosing method Kt9320Kt.foo()V
|
||||
public final static field INSTANCE: Kt9320Kt$foo$w$1
|
||||
inner (anonymous) class Kt9320Kt$foo$w$1
|
||||
static method <clinit>(): void
|
||||
method <init>(): void
|
||||
public final @Ann method invoke(p0: My): java.lang.Integer
|
||||
public synthetic bridge method invoke(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class Kt9320Kt {
|
||||
// source: 'kt9320.kt'
|
||||
inner (anonymous) class Kt9320Kt$foo$v$1
|
||||
inner (anonymous) class Kt9320Kt$foo$w$1
|
||||
public final static method foo(): void
|
||||
}
|
||||
|
||||
@Ann
|
||||
@kotlin.Metadata
|
||||
public class My {
|
||||
// source: 'kt9320.kt'
|
||||
public method <init>(): void
|
||||
}
|
||||
@@ -30,7 +30,7 @@ final class Kt9320Kt$foo$w$1 {
|
||||
inner (anonymous) class Kt9320Kt$foo$w$1
|
||||
static method <clinit>(): void
|
||||
method <init>(): void
|
||||
public final @Ann method invoke(@org.jetbrains.annotations.NotNull p0: My): int
|
||||
public final @Ann method invoke(p0: My): java.lang.Integer
|
||||
public synthetic bridge method invoke(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
@@ -1,83 +0,0 @@
|
||||
@kotlin.annotation.Target(allowedTargets=[CLASS])
|
||||
@java.lang.annotation.Retention(value=RUNTIME)
|
||||
@java.lang.annotation.Target(value=[TYPE])
|
||||
@kotlin.Metadata
|
||||
public annotation class ClsAnn {
|
||||
// source: 'literals.kt'
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets=[EXPRESSION])
|
||||
@kotlin.annotation.Retention(value=SOURCE)
|
||||
@java.lang.annotation.Retention(value=SOURCE)
|
||||
@java.lang.annotation.Target(value=[])
|
||||
@kotlin.Metadata
|
||||
public annotation class ExprAnn {
|
||||
// source: 'literals.kt'
|
||||
}
|
||||
|
||||
@kotlin.annotation.Target(allowedTargets=[FUNCTION])
|
||||
@java.lang.annotation.Retention(value=RUNTIME)
|
||||
@java.lang.annotation.Target(value=[METHOD])
|
||||
@kotlin.Metadata
|
||||
public annotation class FunAnn {
|
||||
// source: 'literals.kt'
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
final class LiteralsKt$foo$1 {
|
||||
// source: 'literals.kt'
|
||||
enclosing method LiteralsKt.foo(I)LMy;
|
||||
synthetic final field $arg: int
|
||||
inner (anonymous) class LiteralsKt$foo$1
|
||||
method <init>(p0: int): void
|
||||
public final @FunAnn method invoke(): java.lang.Integer
|
||||
public synthetic bridge method invoke(): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
final class LiteralsKt$foo$2 {
|
||||
// source: 'literals.kt'
|
||||
enclosing method LiteralsKt.foo(I)LMy;
|
||||
synthetic final field $arg: int
|
||||
inner (anonymous) class LiteralsKt$foo$2
|
||||
method <init>(p0: int): void
|
||||
public final method invoke(): java.lang.Integer
|
||||
public synthetic bridge method invoke(): java.lang.Object
|
||||
}
|
||||
|
||||
@ClsAnn
|
||||
@kotlin.Metadata
|
||||
public final class LiteralsKt$foo$3 {
|
||||
// source: 'literals.kt'
|
||||
enclosing method LiteralsKt.foo(I)LMy;
|
||||
inner (anonymous) class LiteralsKt$foo$3
|
||||
method <init>(): void
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
final class LiteralsKt$foo$x$1 {
|
||||
// source: 'literals.kt'
|
||||
enclosing method LiteralsKt.foo(I)LMy;
|
||||
synthetic final field $arg: int
|
||||
inner (anonymous) class LiteralsKt$foo$x$1
|
||||
method <init>(p0: int): void
|
||||
public final @FunAnn method invoke(): java.lang.Integer
|
||||
public synthetic bridge method invoke(): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class LiteralsKt {
|
||||
// source: 'literals.kt'
|
||||
inner (anonymous) class LiteralsKt$foo$1
|
||||
inner (anonymous) class LiteralsKt$foo$2
|
||||
inner (anonymous) class LiteralsKt$foo$3
|
||||
inner (anonymous) class LiteralsKt$foo$x$1
|
||||
public final static method bar(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function0): int
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(p0: int): My
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public class My {
|
||||
// source: 'literals.kt'
|
||||
public method <init>(): void
|
||||
}
|
||||
@@ -30,7 +30,7 @@ final class LiteralsKt$foo$1 {
|
||||
synthetic final field $arg: int
|
||||
inner (anonymous) class LiteralsKt$foo$1
|
||||
method <init>(p0: int): void
|
||||
public final @FunAnn method invoke(): int
|
||||
public final @FunAnn method invoke(): java.lang.Integer
|
||||
public synthetic bridge method invoke(): java.lang.Object
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ final class LiteralsKt$foo$2 {
|
||||
synthetic final field $arg: int
|
||||
inner (anonymous) class LiteralsKt$foo$2
|
||||
method <init>(p0: int): void
|
||||
public final method invoke(): int
|
||||
public final method invoke(): java.lang.Integer
|
||||
public synthetic bridge method invoke(): java.lang.Object
|
||||
}
|
||||
|
||||
@@ -61,7 +61,7 @@ final class LiteralsKt$foo$x$1 {
|
||||
synthetic final field $arg: int
|
||||
inner (anonymous) class LiteralsKt$foo$x$1
|
||||
method <init>(p0: int): void
|
||||
public final @FunAnn method invoke(): int
|
||||
public final @FunAnn method invoke(): java.lang.Integer
|
||||
public synthetic bridge method invoke(): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
-25
@@ -1,25 +0,0 @@
|
||||
@kotlin.Metadata
|
||||
public final class LocalClassWithCapturedParamsKt$localCaptured$A {
|
||||
// source: 'localClassWithCapturedParams.kt'
|
||||
enclosing method LocalClassWithCapturedParamsKt.localCaptured()Ljava/lang/Object;
|
||||
private final field x: int
|
||||
private final field z: java.lang.String
|
||||
inner (local) class LocalClassWithCapturedParamsKt$localCaptured$A A
|
||||
public method <init>(p0: int, @Simple(value="K") p1: java.lang.String): void
|
||||
public final method getX(): int
|
||||
public final method getZ(): java.lang.String
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class LocalClassWithCapturedParamsKt {
|
||||
// source: 'localClassWithCapturedParams.kt'
|
||||
inner (local) class LocalClassWithCapturedParamsKt$localCaptured$A A
|
||||
public final static @org.jetbrains.annotations.NotNull method localCaptured(): java.lang.Object
|
||||
}
|
||||
|
||||
@java.lang.annotation.Retention(value=RUNTIME)
|
||||
@kotlin.Metadata
|
||||
public annotation class Simple {
|
||||
// source: 'localClassWithCapturedParams.kt'
|
||||
public abstract method value(): java.lang.String
|
||||
}
|
||||
+3
-4
@@ -2,13 +2,12 @@
|
||||
public final class LocalClassWithCapturedParamsKt$localCaptured$A {
|
||||
// source: 'localClassWithCapturedParams.kt'
|
||||
enclosing method LocalClassWithCapturedParamsKt.localCaptured()Ljava/lang/Object;
|
||||
synthetic final field $z: int
|
||||
private final field x: int
|
||||
private final @org.jetbrains.annotations.NotNull field z: java.lang.String
|
||||
private final field z: java.lang.String
|
||||
inner (local) class LocalClassWithCapturedParamsKt$localCaptured$A A
|
||||
public method <init>(p0: int, @Simple(value="K") @org.jetbrains.annotations.NotNull p1: java.lang.String): void
|
||||
public method <init>(p0: int, @Simple(value="K") p1: java.lang.String): void
|
||||
public final method getX(): int
|
||||
public final @org.jetbrains.annotations.NotNull method getZ(): java.lang.String
|
||||
public final method getZ(): java.lang.String
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
|
||||
Reference in New Issue
Block a user