-
Notifications
You must be signed in to change notification settings - Fork 14
Fail to parse expression inside parenthesis for post increment/decrement #118
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
@mingodad this looks like an ambiguity between nested expressions and prefixes of C-style casts. I will push a temporary workaround to resolve these kind of parse conflicts until we have the type checker running during parsing. Thanks for the report. |
robertoraggi
added a commit
that referenced
this issue
Aug 12, 2023
Also, removed old test cases that are not needed anymore.
robertoraggi
added a commit
that referenced
this issue
Aug 13, 2023
Also, removed old test cases that are not needed anymore.
robertoraggi
added a commit
that referenced
this issue
Aug 14, 2023
This is a temporary workaround to accept a larger subset of increments expressions.
robertoraggi
added a commit
that referenced
this issue
Aug 14, 2023
This is a temporary workaround to accept a larger subset of increments expressions.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Here is a sample test to show the problem:
Output:
The text was updated successfully, but these errors were encountered: