diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-25 17:15:30 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-25 17:17:51 -0300 |
| commit | f94555e9fe69ee7df19ba8d52f0d63cfebb35e07 (patch) | |
| tree | de9d5572b11af2867e6ed5820c44a8839f0c5829 /docs | |
| parent | 514b1ed385cdc2618e68ce13b371f6488a5ee504 (diff) | |
| download | pardes-f94555e9fe69ee7df19ba8d52f0d63cfebb35e07.tar.gz pardes-f94555e9fe69ee7df19ba8d52f0d63cfebb35e07.zip | |
Messages: SPC e keeps the error it walks, so the line it lands on shows the error's mark in its box and its words after the line, as a file open when the build ended does (V2's video, pardes bug 1: `:zig build` from main.zig, then SPC e, landed on report.zig:11 with no ✗ in the box and no `✗ local variable is never mutated` after the line, even seconds later; they came only with another build while the file was open); THE CAUSE: not the file opening later (the mark, Messages.markOf, and the words, body_layer messageGhosts, are drawn each frame from the live messages, whatever file opens when) but Messages.act, which took the error out of the live list as it landed its places (SPEC §10.1's `until Esc, the next error, or SPC e`, the prototype's `m.live = false`), and with it every mark and word it put on its lines, so the line the walk lands on is the one line that never shows them; THE FIX: act keeps the error (its places as the list, the walk as before); it goes with Esc, the next error or its pane's next run (exec.zig), as an error does; SPC e on the landed line then unrolls its detail (UX D13), and a third walks again; RUN (TEST FIRST): reproduced with the installed build (514b1ed385cd, VIDEO's kit in a probe: the notice row read `2 messages · SPC h m` after the landing, no error live); Messages.zig "SPC e keeps the error it walks: ..." says an error at report.zig:5:9 of a temp dir, the file not open, SPC e where jumps walk, and asks the landed pane on line 5, the error still the notice row's, `✗` in its box and `var s = 1; ✗ local variable is never mutated` drawn: fails on the base at Messages.zig:1859 (no error live), passes now; the two SPC e tests that asked the error gone now ask it kept (the new-pane one retires it as Esc would before its question part, an error outranking a question); a user hit it on every failing build walked with SPC e; shell-test -Dtest-filter='SPC e' 16/16; load 0.74
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
