You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
unset 'a[@]' leaves stale typed cell: ${#a[@]} disagrees with the mirror #651
Split out of the #616 battery (indexed_diff case 12), its own concern (unset path, not write path).
declare -a a=(p q); unset "a[@]"; echo "${#a[@]}"; declare -p a
GNU: 0 + declare -a a=(). rubash: 2 + declare -a a=() — the mirror is flushed but ${#a[@]} reads the stale IndexedArray cell (the #638 class, indexed edition: boundness/count disagreeing with the value the mirror shows). The unset path must sync/drop the cell the way the write path does (sync\_typed\_indexed\_element family). Found while mapping the #616 write path; not bundled with it.
Fix is up as PR #659 (branch fix/issue651-unset-flush on d4c11fc). One-line cell sync in the flush arm; battery 12/22 -> 22/22. Regression file tests/issue651_unset_flush.rs (5 tests).
Fix is up as PR #659 (branch fix/issue651-unset-flush on 6134802). One-line cell sync in the flush arm; battery 12/22 -> 22/22. Regression file tests/issue651_unset_flush.rs (5 tests).
Activity
perf(executor): append indexed overwrite writes instead of re-renderi…
fix(executor): contain the assignment DISCARD jump at the eval bounda…
caomengxuan666 commentedon Oct 16, 2026
Fix is up as PR #659 (branch
fix/issue651-unset-flushond4c11fc). One-line cell sync in the flush arm; battery 12/22 -> 22/22. Regression filetests/issue651_unset_flush.rs(5 tests).fix(executor): sync the typed cell on unset a[@] flush (#651)
caomengxuan666 commentedon Oct 16, 2026
Fix is up as PR #659 (branch
fix/issue651-unset-flushon6134802). One-line cell sync in the flush arm; battery 12/22 -> 22/22. Regression filetests/issue651_unset_flush.rs(5 tests).fix(executor): sync the typed cell on unset a[@] flush (#651) (#659)
caomengxuan666 commentedon Oct 16, 2026
Landed as #659 (squash-merged 23badf8). Battery 12/22 -> 22/22.