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

[JavaScript] Added new.target construct. #1424

Merged
merged 1 commit into from
Mar 14, 2018

Conversation

Thom1729
Copy link
Collaborator

See documentation at MDN.

The meta.instance.constructor.js scope complicates this. When we see new, we can't reliably tell whether it's followed by .target or an expression. In order to apply that meta scope, we have to guess anyway; then, we have to recover from a wrong guess. No independent syntax appears to use the meta.instance scope, so it might be a good candidate for removal.

@wbond wbond merged commit 31f72a7 into sublimehq:master Mar 14, 2018
@Thom1729 Thom1729 deleted the javascript-new-target branch March 14, 2018 20:08
deathaxe pushed a commit to deathaxe/sublime-packages that referenced this pull request Jun 9, 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