-
Notifications
You must be signed in to change notification settings - Fork 149
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
Missing void value expression
checks
#1729
Comments
It should though right? |
I think this is actually correct |
It should error out with "void value expression" but I think the syntax tree is correct. |
yeah I guess so. So missing error. |
Should "void value expression" be produced on parsing? Or, on compiling? |
@makenowjust we've generally taken the approach of moving as much into parsing as possible so that all of the implementations can benefit. So for our case, I think it should be done while parsing. |
or
has a lower precedence than break
/next
/return
void value expression
checks
Fixes by #1812 |
or
has a lower precedence thanbreak
/next
/return
.The text was updated successfully, but these errors were encountered: