[Wasm] Fix invalid boxing for non-primitive typed vararg

This commit is contained in:
Igor Yakovlev
2022-12-07 19:51:43 +01:00
committed by teamcity
parent dc2dcfffee
commit 3be3ae4895
12 changed files with 104 additions and 2 deletions
@@ -39552,6 +39552,12 @@ public class NativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTest
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/vararg"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.NATIVE, true);
}
@Test
@TestMetadata("boxingArgumentsForVararg.kt")
public void testBoxingArgumentsForVararg() throws Exception {
runTest("compiler/testData/codegen/box/vararg/boxingArgumentsForVararg.kt");
}
@Test
@TestMetadata("doNotCopyImmediatelyCreatedArrays.kt")
public void testDoNotCopyImmediatelyCreatedArrays() throws Exception {