diff --git a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/driver/phases/Lowerings.kt b/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/driver/phases/Lowerings.kt index 0caed92f8c1..7957472ee7d 100644 --- a/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/driver/phases/Lowerings.kt +++ b/kotlin-native/backend.native/compiler/ir/backend.native/src/org/jetbrains/kotlin/backend/konan/driver/phases/Lowerings.kt @@ -431,7 +431,7 @@ private val exportInternalAbiPhase = createFileLoweringPhase( internal val ReturnsInsertionPhase = createFileLoweringPhase( name = "ReturnsInsertion", description = "Returns insertion for Unit functions", - prerequisite = setOf(autoboxPhase, coroutinesPhase, enumClassPhase), // TODO: if there are no files in the module, this requirement fails. + prerequisite = setOf(autoboxPhase, coroutinesPhase, enumClassPhase), lowering = ::ReturnsInsertionLowering, )