Skip to content

Commit a337eaa

Browse files
committed
ASTGen: Resolve a 'may have additional unknown values' warning.
1 parent 1a5a721 commit a337eaa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/ASTGen/Sources/ASTGen/TypeAttrs.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ extension ASTGenVisitor {
3131
attrs.add(attr);
3232
case .ifConfigDecl:
3333
fatalError("unimplemented")
34+
#if RESILIENT_SWIFT_SYNTAX
35+
@unknown default:
36+
fatalError()
37+
#endif
3438
}
3539
}
3640

0 commit comments

Comments
 (0)