[JVM IR] Ensure there is one accessor for each super access from a

subclass when there are multiple subclasses in a file.
This commit is contained in:
Mark Punzalan
2020-03-04 23:00:07 -08:00
committed by Alexander Udalov
parent 34fb636904
commit a732e8f5fe
13 changed files with 154 additions and 45 deletions
@@ -21622,6 +21622,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
public void testProtectedFromLambda() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/protectedFromLambda.kt");
}
@TestMetadata("superCallFromMultipleSubclasses.kt")
public void testSuperCallFromMultipleSubclasses() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/superCallFromMultipleSubclasses.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/throws")
@@ -21682,6 +21682,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
public void testProtectedFromLambda() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/protectedFromLambda.kt");
}
@TestMetadata("superCallFromMultipleSubclasses.kt")
public void testSuperCallFromMultipleSubclasses() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/superCallFromMultipleSubclasses.kt");
}
}
@TestMetadata("compiler/testData/codegen/box/throws")