diff --git a/SKIE/kotlin-compiler/core/src/commonMain/kotlin/io/outfoxx/swiftpoet/ParameterizedTypeName.kt b/SKIE/kotlin-compiler/core/src/commonMain/kotlin/io/outfoxx/swiftpoet/ParameterizedTypeName.kt index ccf71472..09b6bf4e 100644 --- a/SKIE/kotlin-compiler/core/src/commonMain/kotlin/io/outfoxx/swiftpoet/ParameterizedTypeName.kt +++ b/SKIE/kotlin-compiler/core/src/commonMain/kotlin/io/outfoxx/swiftpoet/ParameterizedTypeName.kt @@ -72,7 +72,7 @@ class ParameterizedTypeName internal constructor( else -> { if (enclosingType != null) { enclosingType.emit(out) - out.emit("." + rawType.simpleName) + out.emit("." + escapeKeywords(rawType.simpleName)) } else { rawType.emit(out) }