[FIR] Generate spread element for unsigned arrays
Previously when unsigned arrays were passed as vararg in a named form the necessary spread element wasn't generated, which resulted in a compilation error. ^KT-63514 fixed
This commit is contained in:
committed by
Space Cloud
parent
dbca7358af
commit
251fdb21c9
+6
@@ -37839,6 +37839,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/vararg/evaluationOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassArraysAsNamedArgumentInVararg.kt")
|
||||
public void testInlineClassArraysAsNamedArgumentInVararg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/vararg/inlineClassArraysAsNamedArgumentInVararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt10926.kt")
|
||||
public void testKt10926() throws Exception {
|
||||
|
||||
Generated
+6
@@ -37839,6 +37839,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
|
||||
runTest("compiler/testData/codegen/box/vararg/evaluationOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassArraysAsNamedArgumentInVararg.kt")
|
||||
public void testInlineClassArraysAsNamedArgumentInVararg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/vararg/inlineClassArraysAsNamedArgumentInVararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt10926.kt")
|
||||
public void testKt10926() throws Exception {
|
||||
|
||||
+6
@@ -37839,6 +37839,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/vararg/evaluationOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassArraysAsNamedArgumentInVararg.kt")
|
||||
public void testInlineClassArraysAsNamedArgumentInVararg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/vararg/inlineClassArraysAsNamedArgumentInVararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt10926.kt")
|
||||
public void testKt10926() throws Exception {
|
||||
|
||||
+6
@@ -37839,6 +37839,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/vararg/evaluationOrder.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("inlineClassArraysAsNamedArgumentInVararg.kt")
|
||||
public void testInlineClassArraysAsNamedArgumentInVararg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/vararg/inlineClassArraysAsNamedArgumentInVararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt10926.kt")
|
||||
public void testKt10926() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user