dreamstack/compiler/ds-types
enzotar 003118ec10 refine: type system second pass — deeper unification throughout
Refinement pass:
- DotAccess: unwraps Signal/Derived before field lookup
- UnaryOp: uses unification instead of manual matching
- Call: unifies each arg with param type, applies subst to return
- List: unifies all element types (not just first)
- If/else: unifies both branches, checks condition is Bool
- When/else: unifies body with else body, checks condition
- Match: unifies all arm types for consistency
- Assign: checks assigned value compatible with variable type
- ForIn: binds iteration variable from Array element type

Tests: 39 ds-types (up from 34), 164 workspace total, 0 failures
2026-02-27 11:54:15 -08:00
..
src refine: type system second pass — deeper unification throughout 2026-02-27 11:54:15 -08:00
Cargo.toml feat: Phase 3+4 — Cassowary constraint solver + type system 2026-02-25 00:22:35 -08:00