Repository navigation
fix(hy-check): propagate non-owned origin, const roots, and A3 loans on field/index assign (#92) - #93
Conversation
|
Triage (2026-10-15, AI maintainer): field-assign + literal-bridge may-share (#92) overlaps the landed pr-162 collector (literals holding live bindings are now walked) — your field-ASSIGN half is likely still live. Queued for hole-by-hole verification then a rebase. No action needed from you. |
1b950aa to
e316768
Compare
|
Rebased cleanly onto current main (44a08b9) with 0 conflicts (cargo test -p hy-check 217/217 passing). Adapted to pr-162's collect_ref_roots collector; the live holes covered on 44a08b9 are:
|
|
Wave-2 triage: queued — next tier (carried from wave 1). Fixes #92 (field/index store sharing, composite literal projections, transitive may-share). |
e316768 to
226672a
Compare
36797d8 to
483c3d5
Compare
|
Verified against main (c5126b0) after #92 was closed (#181 / #183 covered simple identifier field stores h.m = p and inner-block shadowing):
|
483c3d5 to
3b423f5
Compare
|
Shepherd (Phase A — propose only): this PR's changed-file set overlaps >=0.6 Jaccard with #613, which carries the larger take. Proposing close as superseded. This is a proposal, not a close — nothing auto-closes while this comment is fresh. If this PR has unique content (a different rule, extra tests, a different fix), say so or push, and the label comes off. Cluster signal is a file-set heuristic; the verdict stays human. |
|
This PR has unique content and is not a duplicate of #613 (#612). It fixes the remaining live holes of #92 in the PlaceKind::Field / PlaceKind::Index arms of |
0dc052e to
f96945c
Compare
732b60a to
5e9b99b
Compare
|
Shepherd W2 could not update this branch automatically (behind main by 59). Labeled |
|
Queue-reset sweep: this repo now runs a rolling conveyor, and open PRs This is not a verdict on the work. If this change still matters:
Wildcard holds (verdict window 2026-11-01) and Pareto land candidates are |
Summary
Rebased onto main (c5126b0) after #181 and #183 landed and re-scoped to the remaining live soundness gaps in
ebind_assign_targets when assigning into field or index places (PlaceKind::Field / PlaceKind::Index, e.g. h.m = ..., xs[0] = ...,
, h.m = ..., p, h.m = ...):
on_owned_origin laundering via field/index move or parallel rebind):
ebind_assign_targets, the else branches for non-Ident targets (h.m = move p, xs[0] = move p, p, h.m = fresh, p, and multi-value unpack
, h.m = pair(move p)) previously only called
ecord_may_share /
ecord_multi_value_may_share.
oot (h or xs) kept
on_owned_origin: None, allowing ask worker(move h) / ask worker(move xs) to be falsely accepted (Verdict::Accept) instead of rejecting with HYB-E3004.
ecord_move_const_and_a3_loans(st, root, ...). Moving a const composite into a field or index (h.m = move shared_k or
, h.m = pair(move shared_k)) failed to link
oot to shared_k, falsely accepting subsequent h.m["k"] = 99 or delete(h.m, "k") instead of rejecting with HYB-E3006.
oot, falsely accepting h.m["other"] = ... before the slot pointer's last use instead of rejecting with HYB-E3102.
Verification