Fix signature generation for calls to enum and inner class constructors
The synthesized arguments caused the size of default value mask off by one when it is close to the boundary of Int.SIZE, which in turn resulted in wrong signature at call sites.
This commit is contained in:
committed by
max-kammerer
parent
72fdc648ff
commit
0aee2d0568
+5
@@ -8937,6 +8937,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/constructor/enumWithTwoDoubleDefArgs.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("innerClass32Args.kt")
|
||||
public void testInnerClass32Args() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/constructor/innerClass32Args.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt2852.kt")
|
||||
public void testKt2852() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/defaultArguments/constructor/kt2852.kt");
|
||||
|
||||
Reference in New Issue
Block a user