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

Normative: Clarify rules around NewTarget in eval #686

Merged
merged 1 commit into from
Nov 2, 2016

Conversation

bterlson
Copy link
Member

@bterlson bterlson commented Sep 9, 2016

Previously, NewTarget was disallowed in nested eval contexts and in eval inside arrow functions. This change allows NewTarget inside eval anywhere it would be allowed outside of eval.

This PR is on top of #685 as it uses a similar pattern.

@bterlson
Copy link
Member Author

bterlson commented Nov 2, 2016

Looks like I forgot to take this with #685. Fixing merge conflicts...

@bterlson bterlson force-pushed the new.target-eval-fix branch 2 times, most recently from 2487a02 to 645fd53 Compare November 2, 2016 17:34
Previously, NewTarget was disallowed in nested eval contexts and in eval
inside arrow functions. This change allows NewTarget inside eval
anywhere it would be allowed outside of eval.
@bterlson bterlson force-pushed the new.target-eval-fix branch from 645fd53 to 99fd453 Compare November 2, 2016 17:35
@bterlson bterlson merged commit b81ab41 into tc39:master Nov 2, 2016
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