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
+9
-1
@@ -10,7 +10,7 @@ fun box() {
|
||||
}
|
||||
}
|
||||
|
||||
// EXPECTATIONS JVM_IR
|
||||
// EXPECTATIONS ClassicFrontend JVM_IR
|
||||
// test.kt:8 box:
|
||||
// test.kt:5 blockFun: blockArg:kotlin.jvm.functions.Function1=TestKt$box$1
|
||||
// test.kt:9 invoke: $this$label:java.lang.String="OK":java.lang.String
|
||||
@@ -18,6 +18,14 @@ fun box() {
|
||||
// test.kt:5 blockFun: blockArg:kotlin.jvm.functions.Function1=TestKt$box$1
|
||||
// test.kt:11 box:
|
||||
|
||||
// EXPECTATIONS FIR JVM_IR
|
||||
// test.kt:8 box:
|
||||
// test.kt:5 blockFun: blockArg:kotlin.jvm.functions.Function1=TestKt$<lambda>
|
||||
// test.kt:9 box$lambda$0: $this$label:java.lang.String="OK":java.lang.String
|
||||
// test.kt:10 box$lambda$0: $this$label:java.lang.String="OK":java.lang.String
|
||||
// test.kt:5 blockFun: blockArg:kotlin.jvm.functions.Function1=TestKt$<lambda>
|
||||
// test.kt:11 box:
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:8 box:
|
||||
// test.kt:5 blockFun: blockArg=Function1
|
||||
|
||||
Reference in New Issue
Block a user