[FIR] Expand type of vararg parameter before constructing array type
This helps to have a primitive array instead of an array of primitives as the type of vararg value parameter. Also, this prevents ABI-incompatibility with the libraries (KLIBs) compiled with K1. ^KT-65588
This commit is contained in:
committed by
Space Team
parent
3962f26583
commit
9219a8f485
+5
@@ -468,6 +468,11 @@ public class KlibIrTextTestCaseGenerated extends AbstractKlibIrTextTestCase {
|
||||
runTest("compiler/testData/ir/irText/declarations/typeAlias.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeAliasOfPrimitiveTypeInVarargArgument.kt")
|
||||
public void testTypeAliasOfPrimitiveTypeInVarargArgument() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/declarations/typeAliasOfPrimitiveTypeInVarargArgument.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/ir/irText/declarations/annotations")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
|
||||
Reference in New Issue
Block a user