diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-19 20:31:32 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-19 20:31:32 -0300 |
| commit | 0db34fbf28e70c8c6a3c6025c0888fc5ec75201c (patch) | |
| tree | f2e288668decded9276ebc45907f16d651b06f9e /core/Store.zig | |
| parent | 2ab05b536bc3b063666b5aaab497157adc2a9120 (diff) | |
| parent | bf351b62e8843a3d173cedeefa2dd0b8ef4b4392 (diff) | |
| download | pardes-0db34fbf28e70c8c6a3c6025c0888fc5ec75201c.tar.gz pardes-0db34fbf28e70c8c6a3c6025c0888fc5ec75201c.zip | |
integration: a pane's and a view's slot as types, with the regular-expression fixes and the fixes the real loops asked for: pardes-ids (Pane.Id and View.Id through the entries, the events, the effects, the Host table and the device messages) and pardes-merge21, merged without a textual conflict; one call site written since on the old type follows (core/draw.zig: the twin test's file_changed event, .pane = .at(0)); tui core-test 848/991 (143 skipped), shell-test 1027/1030, the window builds; gates in the coordinator's ledger
Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/Store.zig')
| -rw-r--r-- | core/Store.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/Store.zig b/core/Store.zig index 0c46e7d9..82e3c5bf 100644 --- a/core/Store.zig +++ b/core/Store.zig @@ -194,11 +194,11 @@ pub fn reopen(s: *Store, p: *Pardes, serial: u32, from: usize) bool { // This session's: a replica has the authority's (`tape.authority`). const place = p.tape.authority(record, .{ s, serial }) orelse return false; const free = p.freeSlot() orelse { - p.reportError(from, "Panes", error.NoPaneSlots); + p.reportError(.at(from), "Panes", error.NoPaneSlots); return false; }; _ = dump.loadPane(p, free, place.body) catch |err| { - p.reportError(from, "Panes", err); + p.reportError(.at(from), "Panes", err); return false; }; const owner = if (place.owner != 0) p.paneBySerial(place.owner) else null; @@ -211,7 +211,7 @@ pub fn reopen(s: *Store, p: *Pardes, serial: u32, from: usize) bool { false; if (!placed) layout.placeNew(p, from, from, free, .doc); if (layout.findPane(p, free) == null) { - p.removePane(free, null) catch |err| p.reportError(from, "reopen", err); + p.removePane(free, null) catch |err| p.reportError(.at(from), "reopen", err); return false; } // No room anywhere: refused, it closes at the step's end, still listed. |
