You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: FLOW compilation failed suppresses all error diagnostics #413
When compilation fails, the Flow CLI prints only FLOW compilation failed with no further diagnostic information. There is no parse error message, no type error, no file/line reference, and no code generation error. This makes debugging extremely difficult.
Reproduction
Introduce any compile error (syntax, type, or codegen) in a .flow file and run:
flow run myfile.flow
Expected behavior
The compiler should print:
The error type (parse error, type error, codegen error)
The file path and line number
A description of the error
Optionally, the offending line of code with a caret pointing to the column
Actual behavior
Compiling myfile.flow...
FLOW compilation failed
No further output.
Impact
Every Flow developer encounters this. Debugging compilation failures requires binary search by commenting out code sections, which is extremely time-consuming. Discovered repeatedly during flow-scikit development.
Activity
fix: show compiler errors instead of suppressing them (#413)
test: regression tests for struct literal return with calls (#409)
test: regression tests for string concatenation with + (#412)
fix: multiple compiler bugs and project conventions (#419)
godofecht commentedon Aug 11, 2026
Fixed in PR #419 (merged).