bingo/warnings-and-traces #2
Loading…
Reference in a new issue
No description provided.
Delete branch "bingo/warnings-and-traces"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Only {$name} is filled in, so "hi {name}" and "{fact[$n]}" used to print their braces with no hint why. The lexer now warns with lumen.warnings.notfilledin when braces hold a bare name or a call. JSON-like text, {{…}} and anything else in braces stay quiet. The LSP underlines just the braces and offers a quick fix that turns {name} into {$name}. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>An uncaught error used to name only the line it happened on, which for an error inside a function says nothing about the call that led there. The VM now records a trace before unwinding, and the error report prints one line per call, innermost first: kennel.lmn: error on line 4: lumen.errors.maths.overflow: … in fact, called from line 31 Files are named only when they differ from the error's own. Deep traces keep the first and last 5 calls and count the rest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>