[Wasm] Fix invalid boxing for non-primitive typed vararg
This commit is contained in:
+6
@@ -36227,6 +36227,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/vararg"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS, 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 {
|
||||
|
||||
+6
@@ -36407,6 +36407,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/vararg"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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 {
|
||||
|
||||
+6
@@ -36407,6 +36407,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/vararg"), Pattern.compile("^(.+)\\.kt$"), null, TargetBackend.JS_IR, 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 {
|
||||
|
||||
+5
@@ -32610,6 +32610,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
|
||||
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/codegen/box/vararg"), Pattern.compile("^([^_](.+))\\.kt$"), null, TargetBackend.WASM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("boxingArgumentsForVararg.kt")
|
||||
public void testBoxingArgumentsForVararg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/vararg/boxingArgumentsForVararg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("doNotCopyImmediatelyCreatedArrays.kt")
|
||||
public void testDoNotCopyImmediatelyCreatedArrays() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/vararg/doNotCopyImmediatelyCreatedArrays.kt");
|
||||
|
||||
Reference in New Issue
Block a user