Issue #2903: `fn show(v: ref Vec[(String, Bytes)]) throws { for w in v { let want = w.1;…

Open and answer this issue on GitHub.

decision, bugs · opened 2026-11-28 · updated 2026-11-28 · 0 comments

Filed by the driver from the Found: of the run of issue-2597 (#2597) (owner, 2026-11-06).

Found

fn show(v: ref Vec[(String, Bytes)]) throws { for w in v { let want = w.1; println(f"{want.len()}") } } gives NK2106 “w.1 is bound to want by a let” on HEAD; Part I 6.5 says a let over a place is a view of it where the value would otherwise move, but #839 reads a borrowed field in place only as text; suspected gate check_core_stmt_element_view / read_viewed returning 0 for non-text in check_core_stmt_let; no decision yet

To build

Done when

The probe or check gives the expected output the first item names from its ADR or Part I-III section, and a tests/compiler/tests/ test (or the named check) that failed on the unfixed tree is green; or the probe already passes on develop and a test pins it, naming the commit that fixed it; or the issue is closed as by design, naming the function or ADR.


Generated by Claude Code

Back to Open Issues