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
@@ -65,8 +65,8 @@ private val arrayConstructorPhase = makeIrFilePhase(
description = "Transform `Array(size) { index -> value }` into a loop"
)
internal val expectDeclarationsRemovingPhase = makeIrModulePhase(
::ExpectDeclarationsRemoveLowering,
internal val expectDeclarationsRemovingPhase = makeIrModulePhase<CommonBackendContext>(
::ExpectDeclarationRemover,
name = "ExpectDeclarationsRemoving",
description = "Remove expect declaration from module fragment"
)