Skip to content

Commit

Permalink
Fix build break from merge race (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlabelle authored Jan 9, 2025
1 parent 0f83c59 commit e7b79ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Generator/Sources/SwiftWinRT/Writing/NamespaceModules.swift
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ fileprivate func writeShortNameTypeAlias(
_ typeDefinition: TypeDefinition,
projection: Projection,
to writer: SwiftSourceFileWriter) throws {
let attributes = try [ Projection.getAvailableAttribute(typeDefinition) ].compactMap { $0 }
let attributes = try [ projection.getAvailableAttribute(typeDefinition) ].compactMap { $0 }

try writer.writeTypeAlias(
attributes: attributes,
Expand Down Expand Up @@ -106,4 +106,4 @@ fileprivate func writeShortNameTypeAlias(
name: projection.toBindingTypeName(typeDefinition, namespaced: false),
target: projection.toBindingType(typeDefinition))
}
}
}

0 comments on commit e7b79ac

Please sign in to comment.