Enable lightweight lambdas (aka invokedynamic) since 2.0
#KT-45375 Fixed #KT-58173 Open
This commit is contained in:
committed by
Space Team
parent
b1b33475fa
commit
3f034e8b67
@@ -20,24 +20,32 @@ fun box() {
|
||||
return
|
||||
}
|
||||
|
||||
// EXPECTATIONS JVM_IR
|
||||
// EXPECTATIONS ClassicFrontend JVM_IR
|
||||
// test.kt:9 box:
|
||||
// test.kt:4 <init>: x:java.lang.String="O":java.lang.String, y:int=123:int
|
||||
// test.kt:9 box:
|
||||
// test.kt:6 foo: a:A=A, block:kotlin.jvm.functions.Function1=TestKt$box$1
|
||||
// EXPECTATIONS ClassicFrontend JVM_IR
|
||||
// test.kt:11 invoke:
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:12 invoke:
|
||||
// EXPECTATIONS ClassicFrontend JVM_IR
|
||||
// test.kt:11 invoke: x:java.lang.String="O":java.lang.String
|
||||
// EXPECTATIONS JVM_IR
|
||||
// test.kt:14 invoke: x:java.lang.String="O":java.lang.String
|
||||
// test.kt:17 invoke: x:java.lang.String="O":java.lang.String, y:int=123:int
|
||||
// test.kt:6 foo: a:A=A, block:kotlin.jvm.functions.Function1=TestKt$box$1
|
||||
// test.kt:9 box:
|
||||
// test.kt:20 box:
|
||||
|
||||
// EXPECTATIONS FIR JVM_IR
|
||||
// test.kt:9 box:
|
||||
// test.kt:4 <init>: x:java.lang.String="O":java.lang.String, y:int=123:int
|
||||
// test.kt:9 box:
|
||||
// test.kt:6 foo: a:A=A, block:kotlin.jvm.functions.Function1=TestKt$<lambda>
|
||||
// test.kt:12 box$lambda$0:
|
||||
// test.kt:14 box$lambda$0: x:java.lang.String="O":java.lang.String
|
||||
// test.kt:17 box$lambda$0: x:java.lang.String="O":java.lang.String, y:int=123:int
|
||||
// test.kt:6 foo: a:A=A, block:kotlin.jvm.functions.Function1=TestKt$<lambda>
|
||||
// test.kt:9 box:
|
||||
// test.kt:20 box:
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:9 box:
|
||||
// test.kt:4 <init>: x="O":kotlin.String, y=123:number
|
||||
|
||||
Reference in New Issue
Block a user