mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-06-08 08:34:24 -04:00
30a824cb9e
The following AST avoids unnecessary derefs now: * error set decl * field access * array access * for loops: replace ensure_indexable and deref on the len_ptr with a special purpose ZIR instruction called indexable_ptr_len. Added an error note when for loop operand is the wrong type. I also accidentally implemented `@field`.