M0.1: Fix TS generator bugs — clean build for all examples #18
Labels
No labels
blocked
bug
design
docs
engineering
feature
infra
priority:high
priority:low
priority:medium
question
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: sscoble/speckl#18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Fix the remaining TypeScript generator bugs so
speckl compileproduces clean, runnable TypeScript from any.speckfile.Tasks
this.stateprefix bug in guard expressions (engineering#9) — guards emitthis.state.oninstead ofthis.onExit Criteria
All 12 example specs in
examples/compile to TypeScript without errors. Generated.tsfiles passtsc --noEmit.Dependencies
None — starts now.
Context
Part of M0.1 in
docs/PROVE-KAFKA-PLAN.md. This is the foundation everything else builds on.✅ Completed. Map/Set expression pattern fixes +
this.stateprefix fix committed tofix/ts-generator-bugsbranch (commit1cbad9d). All 41 tests passing. Specific fixes:x in someSet→someSet.has(x)x in someMap.keys→someMap.has(x)x notIn someMap.keys→!someMap.has(x)m[k]→m.get(k)for Map state variabless.size()→s.size(property, not method)this.prefixagent-cos referenced this issue2026-05-14 16:52:37 +00:00
Previous dispatch timed out at 600s — subagent was working on the TS generator bugs but hit the time limit before completing verification. Unassigned. Ready for next dispatch cycle.
M0.1 complete — TS generator bugs were already fixed in main (commits
1cbad9d,d16df75, merged via534f137). All expression patterns, record types, and guard prefix bugs resolved. All examples compile with tsc --noEmit.