Tests: unmute bytecode listing tests for JVM_IR
Mute them for the old JVM backend instead. JVM IR behavior is fine in all cases except maybe `destructured.kt`, for which there's now an issue KT-63075.
This commit is contained in:
committed by
Space Team
parent
c1c9549b4f
commit
9ae16fd66e
+2
-2
@@ -1,5 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
fun use(c: suspend (Pair<Int, Int>) -> Unit) {}
|
||||
|
||||
@@ -17,4 +17,4 @@ fun test() {
|
||||
use {
|
||||
blackhole(it)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+20
-15
@@ -3,12 +3,14 @@
|
||||
final class DestructuredKt$test$1 {
|
||||
// source: 'destructured.kt'
|
||||
enclosing method DestructuredKt.test()V
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class DestructuredKt$test$1
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public final method create(p0: java.lang.Object, p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: kotlin.Pair, p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -16,13 +18,14 @@ final class DestructuredKt$test$1 {
|
||||
final class DestructuredKt$test$2 {
|
||||
// source: 'destructured.kt'
|
||||
enclosing method DestructuredKt.test()V
|
||||
private synthetic field L$0: java.lang.Object
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class DestructuredKt$test$2
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public final method create(p0: java.lang.Object, p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: kotlin.Pair, p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -30,13 +33,14 @@ final class DestructuredKt$test$2 {
|
||||
final class DestructuredKt$test$3 {
|
||||
// source: 'destructured.kt'
|
||||
enclosing method DestructuredKt.test()V
|
||||
private synthetic field L$0: java.lang.Object
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class DestructuredKt$test$3
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public final method create(p0: java.lang.Object, p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: kotlin.Pair, p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -44,13 +48,14 @@ final class DestructuredKt$test$3 {
|
||||
final class DestructuredKt$test$4 {
|
||||
// source: 'destructured.kt'
|
||||
enclosing method DestructuredKt.test()V
|
||||
private synthetic field L$0: java.lang.Object
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class DestructuredKt$test$4
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public final method create(p0: java.lang.Object, p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: kotlin.Pair, p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
fun use2(c: suspend Long.(Double, String) -> Unit) {}
|
||||
fun use(c: suspend Long.(String) -> Unit) {}
|
||||
@@ -71,4 +71,4 @@ fun test() {
|
||||
use {
|
||||
blackhole(toString())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
final class LambdaKt$test$1 {
|
||||
// source: 'lambda.kt'
|
||||
enclosing method LambdaKt.test()V
|
||||
private synthetic field D$0: double
|
||||
private synthetic field L$0: java.lang.Object
|
||||
synthetic field D$0: double
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$1
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, p1: double, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: double, p2: java.lang.String, p3: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -19,13 +19,13 @@ final class LambdaKt$test$10 {
|
||||
// source: 'lambda.kt'
|
||||
enclosing method LambdaKt.test()V
|
||||
private synthetic field J$0: long
|
||||
private synthetic field L$0: java.lang.Object
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$10
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, p1: double, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: double, p2: java.lang.String, p3: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -37,9 +37,9 @@ final class LambdaKt$test$11 {
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$11
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, p1: double, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: double, p2: java.lang.String, p3: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -50,9 +50,9 @@ final class LambdaKt$test$12 {
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$12
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, p1: double, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: double, p2: java.lang.String, p3: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -61,13 +61,13 @@ final class LambdaKt$test$13 {
|
||||
// source: 'lambda.kt'
|
||||
enclosing method LambdaKt.test()V
|
||||
private synthetic field J$0: long
|
||||
private synthetic field L$0: java.lang.Object
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$13
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: java.lang.String, p2: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -79,9 +79,9 @@ final class LambdaKt$test$14 {
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$14
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: java.lang.String, p2: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -89,13 +89,13 @@ final class LambdaKt$test$14 {
|
||||
final class LambdaKt$test$15 {
|
||||
// source: 'lambda.kt'
|
||||
enclosing method LambdaKt.test()V
|
||||
private synthetic field L$0: java.lang.Object
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$15
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: java.lang.String, p2: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -106,9 +106,9 @@ final class LambdaKt$test$16 {
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$16
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: java.lang.String, p2: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -120,9 +120,9 @@ final class LambdaKt$test$17 {
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$17
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, @org.jetbrains.annotations.NotNull p1: java.lang.String, @org.jetbrains.annotations.NotNull p2: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: java.lang.String, p2: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -130,13 +130,13 @@ final class LambdaKt$test$17 {
|
||||
final class LambdaKt$test$2 {
|
||||
// source: 'lambda.kt'
|
||||
enclosing method LambdaKt.test()V
|
||||
private synthetic field D$0: double
|
||||
synthetic field D$0: double
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$2
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, p1: double, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: double, p2: java.lang.String, p3: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -144,13 +144,13 @@ final class LambdaKt$test$2 {
|
||||
final class LambdaKt$test$3 {
|
||||
// source: 'lambda.kt'
|
||||
enclosing method LambdaKt.test()V
|
||||
private synthetic field L$0: java.lang.Object
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$3
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, p1: double, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: double, p2: java.lang.String, p3: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -158,13 +158,13 @@ final class LambdaKt$test$3 {
|
||||
final class LambdaKt$test$4 {
|
||||
// source: 'lambda.kt'
|
||||
enclosing method LambdaKt.test()V
|
||||
private synthetic field D$0: double
|
||||
synthetic field D$0: double
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$4
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, p1: double, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: double, p2: java.lang.String, p3: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -172,13 +172,13 @@ final class LambdaKt$test$4 {
|
||||
final class LambdaKt$test$5 {
|
||||
// source: 'lambda.kt'
|
||||
enclosing method LambdaKt.test()V
|
||||
private synthetic field L$0: java.lang.Object
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$5
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, p1: double, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: double, p2: java.lang.String, p3: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -186,15 +186,15 @@ final class LambdaKt$test$5 {
|
||||
final class LambdaKt$test$6 {
|
||||
// source: 'lambda.kt'
|
||||
enclosing method LambdaKt.test()V
|
||||
private synthetic field D$0: double
|
||||
synthetic field D$0: double
|
||||
private synthetic field J$0: long
|
||||
private synthetic field L$0: java.lang.Object
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$6
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, p1: double, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: double, p2: java.lang.String, p3: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -202,14 +202,14 @@ final class LambdaKt$test$6 {
|
||||
final class LambdaKt$test$7 {
|
||||
// source: 'lambda.kt'
|
||||
enclosing method LambdaKt.test()V
|
||||
private synthetic field D$0: double
|
||||
synthetic field D$0: double
|
||||
private synthetic field J$0: long
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$7
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, p1: double, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: double, p2: java.lang.String, p3: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -218,13 +218,13 @@ final class LambdaKt$test$8 {
|
||||
// source: 'lambda.kt'
|
||||
enclosing method LambdaKt.test()V
|
||||
private synthetic field J$0: long
|
||||
private synthetic field L$0: java.lang.Object
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$8
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, p1: double, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: double, p2: java.lang.String, p3: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -232,14 +232,14 @@ final class LambdaKt$test$8 {
|
||||
final class LambdaKt$test$9 {
|
||||
// source: 'lambda.kt'
|
||||
enclosing method LambdaKt.test()V
|
||||
private synthetic field D$0: double
|
||||
synthetic field D$0: double
|
||||
private synthetic field J$0: long
|
||||
field label: int
|
||||
inner (anonymous) class LambdaKt$test$9
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(p0: long, p1: double, @org.jetbrains.annotations.NotNull p2: java.lang.String, @org.jetbrains.annotations.NotNull p3: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object, p2: java.lang.Object, p3: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: long, p1: double, p2: java.lang.String, p3: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
import kotlin.coroutines.*
|
||||
import kotlin.experimental.*
|
||||
@@ -31,4 +31,4 @@ fun CoroutineScope.produceNumbers(side: SendChannel<Int>) = produce<Int> {
|
||||
select<Unit> {
|
||||
onSend(1) {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,11 +31,13 @@ final class SelectKt$produceNumbers$1$1$1 {
|
||||
// source: 'select.kt'
|
||||
enclosing method SelectKt$produceNumbers$1.invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
|
||||
field label: int
|
||||
inner (anonymous) class SelectKt$produceNumbers$1
|
||||
inner (anonymous) class SelectKt$produceNumbers$1$1$1
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public final method create(p0: java.lang.Object, p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: SendChannel, p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.coroutines.jvm.internal.DebugMetadata
|
||||
@@ -46,10 +48,12 @@ final class SelectKt$produceNumbers$1 {
|
||||
private synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class SelectKt$produceNumbers$1
|
||||
inner (anonymous) class SelectKt$produceNumbers$1$1$1
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public final method create(p0: java.lang.Object, p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: ProducerScope, p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
@@ -58,7 +62,7 @@ public final class SelectKt {
|
||||
inner (anonymous) class SelectKt$produceNumbers$1
|
||||
public final static @org.jetbrains.annotations.NotNull method produce(@org.jetbrains.annotations.NotNull p0: CoroutineScope, @org.jetbrains.annotations.NotNull p1: kotlin.jvm.functions.Function2): ReceiveChannel
|
||||
public final static @org.jetbrains.annotations.NotNull method produceNumbers(@org.jetbrains.annotations.NotNull p0: CoroutineScope, @org.jetbrains.annotations.NotNull p1: SendChannel): ReceiveChannel
|
||||
private final static @org.jetbrains.annotations.Nullable method select$$forInline(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||
private final static method select$$forInline(p0: kotlin.jvm.functions.Function1, p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final static @org.jetbrains.annotations.Nullable method select(@org.jetbrains.annotations.NotNull p0: kotlin.jvm.functions.Function1, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// WITH_STDLIB
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
fun use(c: suspend (String) -> Unit) {}
|
||||
|
||||
@@ -8,4 +8,4 @@ fun test() {
|
||||
throw IllegalStateException("")
|
||||
it + ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+5
-4
@@ -3,13 +3,14 @@
|
||||
final class UnreachableKt$test$1 {
|
||||
// source: 'unreachable.kt'
|
||||
enclosing method UnreachableKt.test()V
|
||||
private synthetic field L$0: java.lang.Object
|
||||
synthetic field L$0: java.lang.Object
|
||||
field label: int
|
||||
inner (anonymous) class UnreachableKt$test$1
|
||||
method <init>(p0: kotlin.coroutines.Continuation): void
|
||||
public final @org.jetbrains.annotations.NotNull method create(@org.jetbrains.annotations.Nullable p0: java.lang.Object, @org.jetbrains.annotations.NotNull p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public final method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final @org.jetbrains.annotations.Nullable method invokeSuspend(@org.jetbrains.annotations.NotNull p0: java.lang.Object): java.lang.Object
|
||||
public final method create(p0: java.lang.Object, p1: kotlin.coroutines.Continuation): kotlin.coroutines.Continuation
|
||||
public synthetic bridge method invoke(p0: java.lang.Object, p1: java.lang.Object): java.lang.Object
|
||||
public final method invoke(p0: java.lang.String, p1: kotlin.coroutines.Continuation): java.lang.Object
|
||||
public final method invokeSuspend(p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// ^ see KT-42578
|
||||
// IGNORE_BACKEND: JVM
|
||||
|
||||
abstract class AbstractNumber : Number()
|
||||
|
||||
@@ -11,4 +10,4 @@ class MyNumber : Number() {
|
||||
override fun toInt(): Int = 0
|
||||
override fun toLong(): Long = 0
|
||||
override fun toShort(): Short = 0
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,6 +8,12 @@ public abstract class AbstractNumber {
|
||||
public bridge final method intValue(): int
|
||||
public bridge final method longValue(): long
|
||||
public bridge final method shortValue(): short
|
||||
public abstract method toByte(): byte
|
||||
public abstract method toDouble(): double
|
||||
public abstract method toFloat(): float
|
||||
public abstract method toInt(): int
|
||||
public abstract method toLong(): long
|
||||
public abstract method toShort(): short
|
||||
}
|
||||
|
||||
@kotlin.Metadata
|
||||
|
||||
Reference in New Issue
Block a user