JVM_IR: repair overriddenSymbols in InterfaceDelegationLowering

When creating delegation redirectors for default implementations of
interface functions, `overriddenSymbols` should be repaired across the
whole module, not just a particular file.
This commit is contained in:
Georgy Bronnikov
2019-10-22 16:14:04 +03:00
parent c127cbaa6a
commit b63f9176a3
8 changed files with 127 additions and 86 deletions
@@ -1349,6 +1349,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/bridges/fakeOverrideFromInterfaceThroughIntermediateClass.kt");
}
@TestMetadata("fakeOverrideMultiFile.kt")
public void testFakeOverrideMultiFile() throws Exception {
runTest("compiler/testData/codegen/box/bridges/fakeOverrideMultiFile.kt");
}
@TestMetadata("fakeOverrideOfTraitImpl.kt")
public void testFakeOverrideOfTraitImpl() throws Exception {
runTest("compiler/testData/codegen/box/bridges/fakeOverrideOfTraitImpl.kt");