mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Refactors the diagnostic code to be run whenever a compilation notification has been started and there are diagnostics available in the consumer. This allows us to capture diagnostics on all exit paths, and specifically when code-completion fails because of invalid arguments. Note: the editor.open code path still doesn't report invalid arguments because it fails before even trying to create an AST.
48 KiB
48 KiB