Closed dezgeg closed 10 months ago
Minimal failing example:
n=n+n --{ f() --}
This fails to parse because '--{' in this context looks like subtraction by a negated table constant.
Also, the parser currently allows 'f(--{})' (f called with double-negated table constant), forbid that as well.
Thanks! I'll look into this and merge asap
LGTM, thanks! Your tests fail without the fix, and with the fix, everything passes & corpus parses ok, so seems legit.
Minimal failing example:
This fails to parse because '--{' in this context looks like subtraction by a negated table constant.
Also, the parser currently allows 'f(--{})' (f called with double-negated table constant), forbid that as well.