We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f039f2 commit 239ec92Copy full SHA for 239ec92
Sources/WebIDLToSwift/WebIDL+SwiftRepresentation.swift
@@ -735,7 +735,7 @@ extension IDLTypedef: SwiftRepresentable {
735
}
736
737
var swiftRepresentation: SwiftSource {
738
- if let unionType {
+ if let unionType = unionType {
739
guard unionType.friendlyName != name else { return "" }
740
if let existingName = unionType.friendlyName {
741
return "public typealias \(name) = \(existingName)"
0 commit comments