[K/Wasm] Convert non-capturing lambdas into singletons ^KT-64803 Fixed

This commit is contained in:
Artem Kobzar
2024-01-29 12:52:18 +00:00
committed by Space Team
parent e03f8b503f
commit 1fe77705b0
37 changed files with 245 additions and 20 deletions
@@ -5537,6 +5537,12 @@ public class FirWasmJsCodegenBoxTestGenerated extends AbstractFirWasmJsCodegenBo
runTest("compiler/testData/codegen/box/closures/closureWithParameterAndBoxing.kt");
}
@Test
@TestMetadata("closuresAsSingleton.kt")
public void testClosuresAsSingleton() throws Exception {
runTest("compiler/testData/codegen/box/closures/closuresAsSingleton.kt");
}
@Test
@TestMetadata("crossinlineLocalDeclaration.kt")
public void testCrossinlineLocalDeclaration() throws Exception {
@@ -5537,6 +5537,12 @@ public class K1WasmCodegenBoxTestGenerated extends AbstractK1WasmCodegenBoxTest
runTest("compiler/testData/codegen/box/closures/closureWithParameterAndBoxing.kt");
}
@Test
@TestMetadata("closuresAsSingleton.kt")
public void testClosuresAsSingleton() throws Exception {
runTest("compiler/testData/codegen/box/closures/closuresAsSingleton.kt");
}
@Test
@TestMetadata("crossinlineLocalDeclaration.kt")
public void testCrossinlineLocalDeclaration() throws Exception {