[Fir2IR] Don't compute overriddenSymbols if ir builder is enabled

Ir builder would recompute them anyway, while computation
can lead to triggering computations in lazy classes too early,
which is incorrect.

^KT-65116
This commit is contained in:
Pavel Kunyavskiy
2024-01-22 18:55:34 +01:00
committed by Space Team
parent 2f4860886a
commit 5e25707648
11 changed files with 91 additions and 2 deletions
@@ -19280,6 +19280,12 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
runTest("compiler/testData/codegen/box/fakeOverride/kt49371.kt");
}
@Test
@TestMetadata("kt65116.kt")
public void testKt65116() throws Exception {
runTest("compiler/testData/codegen/box/fakeOverride/kt65116.kt");
}
@Test
@TestMetadata("methodOfAnyFromInterface.kt")
public void testMethodOfAnyFromInterface() throws Exception {
@@ -19280,6 +19280,12 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
runTest("compiler/testData/codegen/box/fakeOverride/kt49371.kt");
}
@Test
@TestMetadata("kt65116.kt")
public void testKt65116() throws Exception {
runTest("compiler/testData/codegen/box/fakeOverride/kt65116.kt");
}
@Test
@TestMetadata("methodOfAnyFromInterface.kt")
public void testMethodOfAnyFromInterface() throws Exception {