diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/driver/phases/NativeLoweringPhases.kt b/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/driver/phases/NativeLoweringPhases.kt index ee79017e175..247f2438d5b 100644 --- a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/driver/phases/NativeLoweringPhases.kt +++ b/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/driver/phases/NativeLoweringPhases.kt @@ -498,8 +498,6 @@ private val constEvaluationPhase = createFileLoweringPhase( ) private fun PhaseEngine.getAllLowerings() = listOfNotNull>( - removeExpectDeclarationsPhase, - stripTypeAliasDeclarationsPhase, lowerBeforeInlinePhase, arrayConstructorPhase, lateinitPhase, @@ -509,6 +507,8 @@ private fun PhaseEngine.getAllLowerings() = listOfNotNull extractLocalClassesFromInlineBodies, wrapInlineDeclarationsWithReifiedTypeParametersLowering, inlinePhase, + removeExpectDeclarationsPhase, + stripTypeAliasDeclarationsPhase, constEvaluationPhase, provisionalFunctionExpressionPhase, postInlinePhase,