Centralize parser diagnostic translation
This commit is contained in:
@@ -92,7 +92,13 @@ is not required to justify removing provably unread clones.
|
||||
|
||||
## Stage 2 — Centralize parser issue translation
|
||||
|
||||
Status: pending.
|
||||
Status: complete.
|
||||
|
||||
Completion: `parserDiagnostics` in `parse.go` now owns detached, canonical
|
||||
translation for selected, imported, and profile sources. Existing tests cover
|
||||
safe selected-source errors and imported/profile source attribution, so no
|
||||
duplicate regression was added. Full offline tests, vet, build, and whitespace
|
||||
checks passed with Go 1.26.7 on Linux/amd64.
|
||||
|
||||
Evidence: [parse.go](../../parse.go) translates adapter issues inline, while
|
||||
`importParseDiagnostics` in [imports.go](../../imports.go) repeats the translation
|
||||
|
||||
Reference in New Issue
Block a user