JVM IR: rename private fields for properties with same name
This is needed to get rid of the code that appends "$companion" to properties moved from companion, because it caused inconsistencies in the ABI and in JVM signatures stored in the metadata
This commit is contained in:
+10
@@ -10630,6 +10630,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
|
||||
public void testGenericPropertyWithItself() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fieldRename/genericPropertyWithItself.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmFieldNoClash1.kt")
|
||||
public void testJvmFieldNoClash1() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fieldRename/jvmFieldNoClash1.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmFieldNoClash2.kt")
|
||||
public void testJvmFieldNoClash2() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/fieldRename/jvmFieldNoClash2.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/finally")
|
||||
|
||||
Reference in New Issue
Block a user