[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
@@ -6163,6 +6163,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
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 {
@@ -6295,6 +6295,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
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 {
@@ -6031,6 +6031,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
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 {
@@ -6164,6 +6164,12 @@ public class NativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenBoxT
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 {