Fix exception on callBy of callable with more than 32 parameters
The previous condition that checked if we'd skipped any optional parameters didn't work when number of parameters > 32 because the number of bit masks in that case was more than one #KT-18404 Fixed
This commit is contained in:
@@ -14176,6 +14176,18 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("manyArgumentsNoneDefaultConstructor.kt")
|
||||
public void testManyArgumentsNoneDefaultConstructor() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultConstructor.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("manyArgumentsNoneDefaultFunction.kt")
|
||||
public void testManyArgumentsNoneDefaultFunction() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/manyArgumentsNoneDefaultFunction.kt");
|
||||
doTest(fileName);
|
||||
}
|
||||
|
||||
@TestMetadata("manyArgumentsOnlyOneDefault.kt")
|
||||
public void testManyArgumentsOnlyOneDefault() throws Exception {
|
||||
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/reflection/callBy/manyArgumentsOnlyOneDefault.kt");
|
||||
|
||||
Reference in New Issue
Block a user