Files
sx/tests/expected/57-err-dot-shorthand.txt
agra 9bf3dc75e6 lang F0.3: multi-message diagnostic bundling + help-blocks
Feature 0 complete. addNote/addHelp bundle notes and help-blocks under a
primary diagnostic (handle from new addId/addFmtId); help blocks carry an
optional fix-it line that substitutes the suggested source. renderExtended
now renders primary -> notes -> helps with blank-line separators.

Wire the CLI to the extended renderer (renderErrors -> renderStderr) and
flip render_style default to .extended; the previous renderErrors ->
renderDebug path bypassed render() entirely, so flipping the field alone
was a no-op. 13 diagnostic snapshots re-rendered to the extended format.
2026-05-29 09:36:53 +03:00

6 lines
214 B
Plaintext

error: cannot infer enum type for '.Foo' — use an explicit type or assign to a typed variable
--> /Users/agra/projects/sx/examples/57-err-dot-shorthand.sx:5:10
|
5 | x := .Foo(1, 2);
| ^^^^