bingo/warnings-and-traces #2

Merged
Stormzady merged 2 commits from bingo/warnings-and-traces into zed-extension 2026-10-27 06:34:36 +00:00
Owner
No description provided.
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>
Stormzady merged commit 1c6dc2c20c into zed-extension 2026-10-27 06:34:36 +00:00
Stormzady deleted branch bingo/warnings-and-traces 2026-10-27 06:35:31 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
Stormzady/lumen!2
No description provided.