Skip to main content

Module diagnostics

Module diagnostics 

Source
Expand description

Computes LSP diagnostics for adam-lang source text. No LSP transport knowledge lives here — see crate::dispatch for that — so this module’s tests exercise the diagnostic logic directly, per the design doc’s testing strategy (handler-level unit tests over full protocol round-trips where possible).

Functions§

diagnostics_for_source
Parses and type-checks adam-lang source, returning every recovered syntax and type error as an LSP diagnostic.