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
A comprehension over a HashMap fails MIR lowering #2185
use std.collections
var m: HashMap[str, i32] = HashMap.new()
m.insert("a", 1)
let vs = [v * 2 for (k, v) in m]
print(vs.len())
Expected: 1.
Actual: MIR lowering failed for function main ... AST codegen was removed (no diagnostic naming the construct, which is also a loud-failure defect: the message names no node).
Activity
D44: map traversal observes: keys(), values() and iter() are view ite…
D44: map traversal observes; keys/values/iter are view iterators; Has…
ehartford commentedon Oct 5, 2026
Fixed on main by stack #2196 (merged as efb765c), battery green on a21e326; the regression test for it landed with the fix.