Issue #2902: `fn f(v: ref Vec[(String, Bytes?)]) throws { for (s, b) in v.iter() {…

Open and answer this issue on GitHub.

ready, bugs, queued · opened 2026-11-28 · updated 2026-11-29 · 0 comments

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

Found

fn f(v: ref Vec[(String, Bytes?)]) throws { for (s, b) in v.iter() { println(f"{size(b ?? Bytes([]))}") } } (and the same over for (s, b) in v) gives NK1343 on HEAD, rustc “the trait bound nikaia_std::bytes::Bytes: Into<_> is not satisfied”; it should either run or be refused with NK2106 like p.1 ?? ... (Part I 6.5, a borrowed part is not given away); cause unknown

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