dreamstack/compiler/ds-types/src
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
..
checker.rs refine: type system second pass — deeper unification throughout 2026-02-27 11:54:15 -08:00
errors.rs feat: dependent types — refinement types, type aliases, type annotations 2026-02-26 11:09:33 -08:00
lib.rs feat: dependent types — refinement types, type aliases, type annotations 2026-02-26 11:09:33 -08:00
types.rs improve: dependent types review — cycle detection, precision, error quality 2026-02-26 11:21:43 -08:00