-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid syntax is not properly handled. #84
Comments
I also found that it could accept invalid statement:
And with these inputs(just
|
These codes are actually syntactically acceptable; the call syntax in Erg is of the form |
It is still as strange as ever, but it is no longer a crash. >>> 1 2
2
>>> x = 1 2
2
>>> 1 2 3
3 |
This has become a parsing issue, so this issue is closed. |
Describe the bug
When some tokens are passed without operator (thus Invalid Syntax), compiler trys to report error upsets.
Reproducible code
Just writing literals without operators in a row:
produces:
Expected behavior
Expected that REPL just reports Invalid Syntax Error.
The text was updated successfully, but these errors were encountered: