Fix codegen for JvmOverloads with more than 32 parameters

Use DefaultCallArgs to handle mask list construction correctly

 #KT-31070 Fixed
This commit is contained in:
Alexander Udalov
2019-07-03 12:10:31 +02:00
parent 40633768bc
commit f7fc5d2ffa
5 changed files with 74 additions and 11 deletions
@@ -14879,6 +14879,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/jvmOverloads/innerClass.kt");
}
@TestMetadata("manyParameters.kt")
public void testManyParameters() throws Exception {
runTest("compiler/testData/codegen/box/jvmOverloads/manyParameters.kt");
}
@TestMetadata("multipleDefaultParameters.kt")
public void testMultipleDefaultParameters() throws Exception {
runTest("compiler/testData/codegen/box/jvmOverloads/multipleDefaultParameters.kt");