You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Replace the old 'Error at L1:1' format with the new
Rust-style diagnostic format for syntax errors. All errors
now consistently show:
error[RADxxxxx]: message
--> file:line:col
|
n | source line
| ^^^^^^^^
|
= info: rad explain RADxxxxx
This affects validateSyntax and ValidateNoErrors in
script_meta.go, which now use DiagnosticRenderer instead
of the old CtxErrorExit path.
Key-not-found and index-out-of-bounds errors stay
panic-based (not emitErrorf) so the fallback operator
(??) can still catch them via recover.
Test expectations updated to use assertErrorContains for
flexibility with trailing whitespace and cascade errors.
0 commit comments