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
@@ -15,7 +15,7 @@ fun foo(f: () -> Unit) {
|
||||
f()
|
||||
}
|
||||
|
||||
// EXPECTATIONS JVM_IR
|
||||
// EXPECTATIONS ClassicFrontend JVM_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:15 foo
|
||||
// test.kt:6 invoke
|
||||
@@ -30,6 +30,22 @@ fun foo(f: () -> Unit) {
|
||||
// test.kt:16 foo
|
||||
// test.kt:12 box
|
||||
|
||||
// EXPECTATIONS FIR JVM_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:15 foo
|
||||
// test.kt:6 box$lambda$0
|
||||
// test.kt:7 box$lambda$0
|
||||
// test.kt:15 foo
|
||||
// test.kt:16 foo
|
||||
// test.kt:5 box
|
||||
// test.kt:9 box
|
||||
// test.kt:15 foo
|
||||
// test.kt:10 box$lambda$1
|
||||
// test.kt:11 box$lambda$1
|
||||
// test.kt:15 foo
|
||||
// test.kt:16 foo
|
||||
// test.kt:12 box
|
||||
|
||||
// EXPECTATIONS JS_IR
|
||||
// test.kt:5 box
|
||||
// test.kt:15 foo
|
||||
|
||||
Reference in New Issue
Block a user