[K/Wasm] Refactor the fix for the non-capturing lambda singletons

This commit is contained in:
Artem Kobzar
2024-02-01 18:13:37 +00:00
committed by Space Team
parent 968ecadff2
commit 2fdc8b6c14
14 changed files with 26 additions and 66 deletions
@@ -45,10 +45,10 @@ fun foo(f: () -> Unit) {
// EXPECTATIONS WASM
// test.kt:1 $box
// test.kt:5 $box (8, 4)
// test.kt:5 $box
// test.kt:15 $foo (4, 4)
// test.kt:6 $box$lambda.invoke (20, 12, 21)
// test.kt:16 $foo (1, 1)
// test.kt:9 $box (10, 4)
// test.kt:9 $box
// test.kt:10 $box$lambda.invoke (16, 8, 17)
// test.kt:12 $box