refactor(B8.1): move expression literals/field/index to lower/expr.zig

Verbatim relocation of the 30-method expression cluster (struct/array/
tuple/enum/tagged-enum literals, init blocks, field access on values and
types, optional chains, numeric limits, indexing, slicing, deref, force
unwrap, null coalesce) into src/ir/lower/expr.zig — one contiguous
1,372-line cut. 30 aliases on Lowering keep all call sites unchanged.

Nested StructConstInfo stays on Lowering (field type of
struct_const_map), flipped pub and reached via an alias const, alongside
headNameOfCallee.

Gate: zig build OK; zig build test 426/426; run_examples 541/0; zero
expected/ snapshot churn.
This commit is contained in:
agra
2026-06-10 14:38:11 +03:00
parent 1790d808cc
commit 0592c9dc97
2 changed files with 1458 additions and 1374 deletions

File diff suppressed because it is too large Load Diff

1424
src/ir/lower/expr.zig Normal file

File diff suppressed because it is too large Load Diff