Skip to content

Commit 24c959c

Browse files
committed
Update DiagnosticsError domain
1 parent adaca23 commit 24c959c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/OpenObservationMacros/ObservableMacro.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ struct ObservationDiagnostic: DiagnosticMessage {
100100
}
101101

102102
extension DiagnosticsError {
103-
init<S: SyntaxProtocol>(syntax: S, message: String, domain: String = "Observation", id: ObservationDiagnostic.ID, severity: SwiftDiagnostics.DiagnosticSeverity = .error) {
103+
init<S: SyntaxProtocol>(syntax: S, message: String, domain: String = "OpenObservation", id: ObservationDiagnostic.ID, severity: SwiftDiagnostics.DiagnosticSeverity = .error) {
104104
self.init(diagnostics: [
105105
Diagnostic(node: Syntax(syntax), message: ObservationDiagnostic(message: message, domain: domain, id: id, severity: severity))
106106
])

0 commit comments

Comments
 (0)