diff --git a/SKIE/kotlin-compiler/core/src/commonMain/kotlin/co/touchlab/skie/phases/features/enums/ExhaustiveEnumsGenerator.kt b/SKIE/kotlin-compiler/core/src/commonMain/kotlin/co/touchlab/skie/phases/features/enums/ExhaustiveEnumsGenerator.kt index 75279f4a..2f314463 100644 --- a/SKIE/kotlin-compiler/core/src/commonMain/kotlin/co/touchlab/skie/phases/features/enums/ExhaustiveEnumsGenerator.kt +++ b/SKIE/kotlin-compiler/core/src/commonMain/kotlin/co/touchlab/skie/phases/features/enums/ExhaustiveEnumsGenerator.kt @@ -124,6 +124,8 @@ private fun SirClass.addNestedClassTypeAlias(nestedClass: SirClass) { SirTypeAlias( baseName = nestedClass.baseName, visibility = nestedClass.visibility, + isHidden = nestedClass.isHidden, + isReplaced = nestedClass.isReplaced, ) { nestedClass.defaultType }