Expand description
Error-list entries: the value type every error-list producer (compilation, LSP diagnostics, references, pickers) writes, tagged with which producer wrote it.
CM.3a (2026-07-22): the error entry value type, lowered
from lattice-host to the protocol floor so the below-host
compilation parser (lattice-compilation) and the effect payload
(lattice_grammar::AppEffect::SetErrorList) share ONE type.
Only the entry + its severity live here — the list (ErrorList,
with its navigation index) stays in lattice-host as core/host
state alongside position_history (its consumer is generic host
dispatch; see docs/dev/architecture/compilation-mode.md §3).
lattice-host re-exports these two types so existing callers
(lattice_host::error_list::ErrorEntry, the CM.2 tests) are
unchanged.
Serialize / Deserialize are added here (the host-local
definitions did not carry them) because the type now rides inside
the serde-derived AppEffect enum.
Structs§
- Error
Entry - One navigable location on the error list.
line/colare 0-based (the conventionEditor::jump_to_file_line_colexpects), matching LSP diagnostics.
Enums§
- Error
Severity - Severity of one error entry.
- Error
Source - Which producer a run of error entries came from.
- Error
Write - Whether a producer’s write is a fresh run or a live refresh.