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.
6 lines
327 B
Plaintext
6 lines
327 B
Plaintext
error: call-convention mismatch: 'sx_handler' is declared with default sx convention but the target type expects callconv(.c)
|
|
--> /Users/agra/projects/sx/examples/131-callconv-mismatch-diagnostic.sx:12:42
|
|
|
|
|
12 | fp : (*void) -> *void callconv(.c) = sx_handler;
|
|
| ^^^^^^^^^^
|