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

Handle delete super.x by throwing an error #1739

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

andreabergia
Copy link
Contributor

This PR, co-authored with @0xe, adds support for delete super.x. It is stacked on top of #1735.

The ECMAScript spec says that this is not allowed, but it has to be a runtime error and not a syntax error. Therefore, we have generated a new bytecode instruction that will just do the throw at runtime.

@andreabergia andreabergia mentioned this pull request Nov 27, 2024
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

Successfully merging this pull request may close these issues.

1 participant