JVM_IR: replace calls to expect declarations in ExprectDeclarationRemover

References to expect declarations still remain in IrTypes;
we will need to remove those as well sooner or later.
This commit is contained in:
Georgy Bronnikov
2021-11-19 23:16:37 +03:00
committed by TeamCityServer
parent 63359d8492
commit 836925b4be
3 changed files with 145 additions and 19 deletions
@@ -181,7 +181,7 @@ fun generateIrForKlibSerialization(
}
if (!configuration.expectActualLinker) {
moduleFragment.acceptVoid(ExpectDeclarationRemover(psi2IrContext.symbolTable, false))
moduleFragment.transform(ExpectDeclarationRemover(psi2IrContext.symbolTable, false), null)
}
return moduleFragment