-
Notifications
You must be signed in to change notification settings - Fork 13
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
for (;;)
marked 'fail', should be 'pass'
#18
Comments
agreed, ASI should convert it to ~ quick ref link: https://tc39.github.io/ecma262/#sec-rules-of-automatic-semicolon-insertion |
No, I think it's right. ASI can't insert empty statements.
|
Ah! Thanks. |
An explanation for a non-program doesn't really make sense to me. I guess we could describe the production that is being parsed when the parse fails? But that doesn't seem too useful. Explanations for programs already exist in the "explicit" examples. |
The content of
fail/3e6146fd7daff493.js
is:for(;;)
I believe ASI rule 2 makes this a valid script, so it should be in
pass
.The text was updated successfully, but these errors were encountered: