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 7685371 commit 7c1cdafCopy full SHA for 7c1cdaf
lib/ASTGen/Sources/ASTGen/DiagnosticsBridge.swift
@@ -141,7 +141,9 @@ extension DiagnosticSeverity {
141
case .note: return .note
142
case .warning: return .warning
143
case .remark: return .remark
144
+#if RESILIENT_SWIFT_SYNTAX
145
@unknown default: return .error
146
+#endif
147
}
148
149
lib/ASTGen/Sources/ASTGen/PluginHost.swift
@@ -270,7 +270,9 @@ class PluginDiagnosticsEngine {
270
case .note: bridgedSeverity = .note
271
case .warning: bridgedSeverity = .warning
272
case .remark: bridgedSeverity = .remark
273
274
@unknown default: bridgedSeverity = .error
275
276
277
278
// Emit the diagnostic
0 commit comments