Skip to content

flowc: inferred let + bundle typecheck main (#151) - #208

Merged
godofecht merged 2 commits into
mainfrom
feat/flowc-bundle-typecheck-slice
Aug 5, 2026
Merged

godofecht merged 2 commits into
mainfrom
feat/flowc-bundle-typecheck-slice

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Summary

  • Stage-A parser: optional `: Type` on `let` / `let mut` (unblocks flowc self-tests)
  • Larger src/AST/name-table caps so `compiler/src/main.flow` fits in resolve + emit
  • `FLOWC_BUNDLE=1` + typecheck succeeds on `main.flow`; fixture `stage_a_infer_let.flow`

Test plan

  • `./compiler/scripts/roundtrip.sh` → ALL PASS
  • Bundle typecheck `compiler/src/main.flow`
  • Infer-let fixture → exit 42

Partial progress on #151 (Phase B); issue stays open for remaining TYPECHECK=0 dogfood paths + location diagnostics.

Made with Cursor

godofecht and others added 2 commits August 5, 2026 20:19
Stage-A parser accepts `let x = …` without `: Type`, resolve/emit buffers
fit main.flow, and FLOWC_BUNDLE=1 typechecks compiler/src/main.flow (#151).

Co-authored-by: Cursor <[email protected]>
@godofecht
godofecht merged commit 9882bdf into main Aug 5, 2026
12 checks passed
@godofecht
godofecht deleted the feat/flowc-bundle-typecheck-slice branch August 5, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant