JVM IR: do not mangle synthetic methods with inline class parameters
For example, synthetic `$annotations` methods for properties were previously mangled to `$annotations-...`, which breaks annotation loader, and fails an assert in ClassCodegen.generateMethod.
This commit is contained in:
+5
@@ -12408,6 +12408,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("annotatedMemberExtensionProperty.kt")
|
||||
public void testAnnotatedMemberExtensionProperty() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/annotatedMemberExtensionProperty.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("boundCallableReferencePassedToInlineFunction.kt")
|
||||
public void testBoundCallableReferencePassedToInlineFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/inlineClasses/boundCallableReferencePassedToInlineFunction.kt");
|
||||
|
||||
Reference in New Issue
Block a user