Skip to content

Commit 8dd037b

Browse files
committed
Stop using the sugar
1 parent bdf22cf commit 8dd037b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/WebIDLToSwift/WebIDL+SwiftRepresentation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ extension IDLOperation: SwiftRepresentable, Initializable {
506506
}
507507

508508
private var defaultRepresentation: SwiftSource {
509-
guard let idlType else { fatalError() }
509+
guard let idlType = idlType else { fatalError() }
510510
var returnType = idlType.swiftRepresentation
511511
if returnType == ModuleState.className {
512512
returnType = "Self"

0 commit comments

Comments
 (0)