Skip to content

flowc: file path on typecheck diagnostics (#151) - #213

Merged
godofecht merged 1 commit into
mainfrom
feat/flowc-tc-path-diag
Aug 5, 2026
Merged

godofecht merged 1 commit into
mainfrom
feat/flowc-tc-path-diag

Conversation

@godofecht

Copy link
Copy Markdown
Contributor

Summary

  • Typecheck notes include flowc tc: file + source path and at line:col.
  • flowc_typecheck_ex / flowc_tc_set_path for driver argv + bundle modules; C host setenv(FLOWC_IN).
  • Roundtrip asserts undef fixture path + line 5.

Test plan

  • ./compiler/scripts/roundtrip.sh ALL PASS
  • CI flowc self-host roundtrip green

Made with Cursor

Diagnostics print `flowc tc: file` + path (FLOWC_IN / argv / bundle module)
alongside line:col. Bundle and Flow driver set the path; C host setenvs FLOWC_IN.

Co-authored-by: Cursor <[email protected]>
@godofecht
godofecht force-pushed the feat/flowc-tc-path-diag branch from 7bf34fb to 1304ff0 Compare August 5, 2026 19:45
@godofecht
godofecht merged commit ffa7326 into main Aug 5, 2026
14 checks passed
@godofecht
godofecht deleted the feat/flowc-tc-path-diag 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