swift
e7fcee69 - [Macros] Use `MacroExpansionContext.addDiagnostics` for thrown errors

Commit
2 years ago
[Macros] Use `MacroExpansionContext.addDiagnostics` for thrown errors Rather than open-coding the mapping of thrown errors to diagnostics, use `MacroExpansionContext.addDiagnostics`. It already does the right thing.
Author
Parents
Loading