refactor(B7.3): move generics emission to lower/generic.zig
Verbatim relocation of the 39-method generics cluster (function/struct/ union monomorphisation + instantiation, type-arg resolution and matching, type-name formatting/mangling, type-category tags, head-gate author selection, value-param resolution + diagnostics) plus four single-home nested types (HeadTemplate, HeadName, HeadTypeGate, GenericStructMethod) into src/ir/lower/generic.zig. 39 aliases on Lowering keep all call sites unchanged. Method pub-flips: packResolver, resolveVectorLane. generic.zig reaches five relocated/static helpers via Lowering-namespace alias consts (inferExprType, isNamedTypeKind, resolveBuiltin, structMethodFn, typeFnAuthor). Gate: zig build OK; zig build test 426/426; run_examples 541/0; zero expected/ snapshot churn.
This commit is contained in:
1802
src/ir/lower.zig
1802
src/ir/lower.zig
File diff suppressed because it is too large
Load Diff
1810
src/ir/lower/generic.zig
Normal file
1810
src/ir/lower/generic.zig
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user