Skip to content
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

let undefined should fail to parse #1225

Closed
CanadaHonk opened this issue Jul 8, 2023 · 2 comments
Closed

let undefined should fail to parse #1225

CanadaHonk opened this issue Jul 8, 2023 · 2 comments

Comments

@CanadaHonk
Copy link

let undefined; (and other "restricted global" properties) should fail to parse, see this test262 test.

@CanadaHonk CanadaHonk changed the title let undefined parses successfully let undefined should fail to parse Jul 8, 2023
@RReverser
Copy link
Member

RReverser commented Jul 8, 2023

That test says it's a runtime error, not a parsing error or even early error. If so, it's a job of execution engine to reject it.

@CanadaHonk
Copy link
Author

Whoops, sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants