We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When there's an error in the left-hand side of an assignment or swap statement the error is a little confusing. E.g.
procedure main() x[#] += 5
give the error
File "tests/errors/parse-error-assign.ja" in line 2, column 7: Unexpected "#" Expecting statement
The problem is that the left-values are parsed wrapped in try so when they fail, parsing of the whole statement fails.
try
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When there's an error in the left-hand side of an assignment or swap statement the error is a little confusing. E.g.
give the error
The problem is that the left-values are parsed wrapped in
try
so when they fail, parsing of the whole statement fails.The text was updated successfully, but these errors were encountered: