[FIR2IR] Provide remapped f/o symbols to declaration storage

After a generation of fake overrides some code may still to refer old
  symbols from declaration storage (like computation of overridden
  symbols for lazy functions), so we need to remap those symbols using
  information from IR f/o generator
This commit is contained in:
Dmitriy Novozhilov
2023-12-06 13:11:44 +02:00
committed by Space Team
parent 97cf62e291
commit 7813bb35cf
31 changed files with 408 additions and 11 deletions
@@ -14337,6 +14337,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/fakeOverride/intersectionInLocal.kt");
}
@Test
@TestMetadata("intersectionOverrideBetweenValAndVar.kt")
public void testIntersectionOverrideBetweenValAndVar() throws Exception {
runTest("compiler/testData/codegen/box/fakeOverride/intersectionOverrideBetweenValAndVar.kt");
}
@Test
@TestMetadata("kt49371.kt")
public void testKt49371() throws Exception {
@@ -14337,6 +14337,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
runTest("compiler/testData/codegen/box/fakeOverride/intersectionInLocal.kt");
}
@Test
@TestMetadata("intersectionOverrideBetweenValAndVar.kt")
public void testIntersectionOverrideBetweenValAndVar() throws Exception {
runTest("compiler/testData/codegen/box/fakeOverride/intersectionOverrideBetweenValAndVar.kt");
}
@Test
@TestMetadata("kt49371.kt")
public void testKt49371() throws Exception {
@@ -14337,6 +14337,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/fakeOverride/intersectionInLocal.kt");
}
@Test
@TestMetadata("intersectionOverrideBetweenValAndVar.kt")
public void testIntersectionOverrideBetweenValAndVar() throws Exception {
runTest("compiler/testData/codegen/box/fakeOverride/intersectionOverrideBetweenValAndVar.kt");
}
@Test
@TestMetadata("kt49371.kt")
public void testKt49371() throws Exception {
@@ -14337,6 +14337,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
runTest("compiler/testData/codegen/box/fakeOverride/intersectionInLocal.kt");
}
@Test
@TestMetadata("intersectionOverrideBetweenValAndVar.kt")
public void testIntersectionOverrideBetweenValAndVar() throws Exception {
runTest("compiler/testData/codegen/box/fakeOverride/intersectionOverrideBetweenValAndVar.kt");
}
@Test
@TestMetadata("kt49371.kt")
public void testKt49371() throws Exception {