dreamstack/compiler
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
..
ds-analyzer feat: *= /= operators + 6 new array methods 2026-02-26 20:29:35 -08:00
ds-cli feat: upgrade init starter app to showcase all DreamStack features 2026-02-26 16:57:08 -08:00
ds-codegen feat: core language & stream improvements 2026-02-27 11:03:53 -08:00
ds-incremental feat: component registry with styled variants, dreamstack add/convert CLI, and showcase 2026-02-26 13:27:49 -08:00
ds-layout feat(compiler): complete bitstream integration — all 9 changes 2026-02-25 13:26:59 -08:00
ds-parser feat: game-pong.ds + two compiler improvements 2026-02-27 00:02:58 -08:00
ds-types refine: type system second pass — deeper unification throughout 2026-02-27 11:54:15 -08:00