summaryrefslogtreecommitdiff
path: root/docs/typ/reference.typ
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-25 17:22:04 -0300
committerGabriel Schneider <[email protected]>2026-11-25 17:22:04 -0300
commit6ef1941324aa578750d54567c1ed201ad36412b8 (patch)
treea051b6eb8f49ec09fb5799787e008282fa551091 /docs/typ/reference.typ
parenta89de25fb869c2a21289321aff847431e8552906 (diff)
downloadpardes-6ef1941324aa578750d54567c1ed201ad36412b8.tar.gz
pardes-6ef1941324aa578750d54567c1ed201ad36412b8.zip
panes, Messages: a failed run's error names that run's places, each once: a rerun in the same command pane no longer reads the run before it again, and a note at an error's place is not a second place (V2's video, pardes bug 3: after a code action put a line above report.zig's error, a save and `:zig build` again, line 11 still carried `✗ local variable is never mutated` from the build before, and the notice row read `…report.zig:11:9 · …report.zig:11:9 · …report.zig:12:9…`; a rebuild with no edit `…11:9 · …11:9 · …11:9…`); THE CAUSES: the rerun does take the pane's last error away (exec.zig, the same pane, @p2, reused), but Pane.commandDone read the places from the terminal's last 400 rows, which hold the runs before it in that pane (the pane is reused and keeps its rows), so the new error named the old run's places first (the walk landing on the stale line, its words drawn there); and Messages.readPlaces kept every place row, so zig's `note: consider using 'const'` at the error's own place was a second place (`1/2` and `2/2` on one spot, even in a first run); THE FIX: commandDone reads the rows after the run's own `% line` (exec.echoCommand writes it above every run; all the last 400 when it is further up: they are all this run's); readPlaces keeps a place named again (same path, line and column) once, the first's words; RUN (TEST FIRST): reproduced with the installed build in VIDEO's kit (a probe: `11:9 · 11:9` after the first build, `11:9 · 11:9 · 12:9 · 1…` after the edit and rebuild, line 11's stale words); panes.zig "a failed run's error names that run's places, each once: ..." feeds a command pane zig's minimal report for report.zig:11:9 with its note, exits 2, reruns it in the same pane with the report at 12:9, and asks each run's error for exactly its one place, its words and its two detail rows: fails on the base at panes.zig:2029 on the first run (`11:9 11:9`), with readPlaces' fix alone on the rerun (`11:9 12:9`), passes now; the probe with this stack's build: one place each run, the walk on 12:9 after the rebuild, line 11 bare; a user hit it on every rerun of a failing build and with every compiler that adds a note at its error; shell-test -Dtest-filter=place 97/97; load 0.71
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'docs/typ/reference.typ')
0 files changed, 0 insertions, 0 deletions