JVM_IR: Fix default argument bit mask for methods made static.
When called by reflection the bit mask will be generated discounting dispatch/extension receivers. Make sure that the interpretation of the bit mask is consistent for direct and reflective calls. In addition, this also fixes the modifiers on java 8 parameter metadata for the dispatch and extension receivers for these inline class methods.
This commit is contained in:
+10
@@ -18571,6 +18571,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
runTest("compiler/testData/codegen/box/parametersMetadata/function.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassMethodParameterModifiers.kt")
|
||||
public void testInlineClassMethodParameterModifiers() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/parametersMetadata/inlineClassMethodParameterModifiers.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassMethodParameterNames.kt")
|
||||
public void testInlineClassMethodParameterNames() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/parametersMetadata/inlineClassMethodParameterNames.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("innerClass.kt")
|
||||
public void testInnerClass() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/parametersMetadata/innerClass.kt");
|
||||
|
||||
Reference in New Issue
Block a user