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.
18 lines
830 B
Plaintext
18 lines
830 B
Plaintext
error: 'c_only_fn' is not visible; #import the module that declares it
|
|
--> /Users/agra/projects/sx/examples/127-import-non-transitive.sx:15:37
|
|
|
|
|
15 | print("c_only_fn direct: {}\n", c_only_fn());
|
|
| ^^^^^^^^^
|
|
|
|
error: 'c_only_const' is not visible; #import the module that declares it
|
|
--> /Users/agra/projects/sx/examples/127-import-non-transitive.sx:16:40
|
|
|
|
|
16 | print("c_only_const direct: {}\n", c_only_const);
|
|
| ^^^^^^^^^^^^
|
|
|
|
error: unresolved 'c_only_const' (in /Users/agra/projects/sx/examples/127-import-non-transitive.sx fn main)
|
|
--> /Users/agra/projects/sx/examples/127-import-non-transitive.sx:16:40
|
|
|
|
|
16 | print("c_only_const direct: {}\n", c_only_const);
|
|
| ^^^^^^^^^^^^
|