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

Adding cases where private names are used on direct eval calls #2213

Merged
merged 2 commits into from
Jun 26, 2019

Conversation

caiolima
Copy link
Contributor

As direct eval's scope is the same as caller's scope, private names are available on those calls as well. It also includes direct eval used on class field initialization.

It is covering some cases of #1343.

Cc.: @jbhoosreddy, @mkubilayk and @leobalter.

@leobalter leobalter merged commit b1b4177 into tc39:master Jun 26, 2019
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.

2 participants