Skip to content

Commit f6bcfeb

Browse files
committed
backlog: TASK-059 AC#2 checked — increment 4 landed in da69096, all ACs done
1 parent da69096 commit f6bcfeb

1 file changed

Lines changed: 19 additions & 2 deletions

File tree

‎backlog/tasks/task-059 - Unify-the-two-type-unifiers-route-inference-through-the-canonical-xtc-type-core.md‎

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ title: >-
66
status: In Progress
77
assignee: []
88
created_date: '2026-06-09 01:35'
9-
updated_date: '2026-06-10 09:37'
9+
updated_date: '2026-06-10 09:53'
1010
labels:
1111
- compiler
1212
- types
@@ -30,7 +30,7 @@ Goal: route all unification through the canonical core and delete the old family
3030
## Acceptance Criteria
3131
<!-- AC:BEGIN -->
3232
- [x] #1 Old behaviour (incl. union-type simplification/pruning) characterised by tests before any change
33-
- [ ] #2 All xtc:desugar:type-unify/complex-unify/unify-lists/sym-unify/occurs-in-type?/unity? sites migrated or removed
33+
- [x] #2 All xtc:desugar:type-unify/complex-unify/unify-lists/sym-unify/occurs-in-type?/unity? sites migrated or removed
3434
- [x] #3 Live inference unifies via xtc:type:unify + the int-code/pretty bridges
3535
- [x] #4 No regression in generic/poly inference (esp. the #315 pointer-depth class); full suite green
3636
<!-- AC:END -->
@@ -169,4 +169,21 @@ ahead of origin/master, nothing pushed. NOTHING BLOCKS push → CI → AC#4 →
169169
increment 4 (the deletion).
170170

171171
CI run 27261868361 green on all four platforms (Linux x86_64/aarch64, macOS aarch64, Windows x86_64) for the full pushed stack incl. the flip — AC#4 satisfied. Only increment 4 (the deletion, AC#2) remains.
172+
173+
─────────────── INCREMENT 4 DONE (2026-06-10, session 4) ───────────────
174+
da69096d deletes the old path: run-type-check is the constraint-engine entry
175+
alone (retry loop + call/cc continuation gone); the six unifiers + helper
176+
family deleted from xtc-transforms; the ~45 *-check handlers + dispatch +
177+
candidate-list machinery deleted from xtc-typecheck (4088→645 lines);
178+
shadow scaffolding (both flags) removed from xtc-infer; semantic-phase's
179+
unity? check dropped (read-back returns only resolved entries; conflicts
180+
error in run-type-check; dropped call sites error at the site).
181+
Tests: typeunify.xtm + constraints.xtm deleted; inferfn.xtm asserts full
182+
concrete resolution via check-function directly; infer.xtm's corpus is now
183+
an entry-point parity check; typecheck.xtm drops the deleted helpers.
184+
Deletion set computed by reachability from externally-referenced roots
185+
(scripts in /tmp/xtc-reach.py, /tmp/xtc-delete.py, session-local).
186+
Validated: full AOT rebuild clean, ctest 21/21. AC#2 checked — all four
187+
ACs now done. Remaining before Done: push + CI green on the deletion
188+
commit (same gate as the flip), then mark Done.
172189
<!-- SECTION:NOTES:END -->

0 commit comments

Comments
 (0)