mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-30 23:02:49 +03: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`.