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
Stage-A: keyword used as a parameter name gives a parse error with no location #970
In bundle mode (FLOWC_BUNDLE=1) the only output is flowc gather: parse failed, with no file or position at all. In a 1,000-line tool the failing function had to be found by bisecting top-level items.
Expected: a message naming the file, line and column, and saying that from is reserved and cannot be used as a parameter name. Allowing keywords as parameter names would also work, but the diagnostic is the main problem.
Found while porting scripts/build_wiki.py to Flow.
Activity
fix(stage-a): locate parse errors by file, line, column and token
fix(stage-a): locate parse errors by file, line, column and token