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

Switch back to a production parameter #152

Merged
merged 1 commit into from
Mar 22, 2023
Merged

Conversation

rbuckton
Copy link
Collaborator

This reverts #145 by switching back to a production parameter to restrict BindingPattern in a UsingDeclaration. Relying only on an early error would result in a conflict when parsing using[x], which was not intended.

This also addresses editor feedback from tc39/proposal-async-explicit-resource-management#9 by ensuring that we're not giving the Using production parameter two different meanings.

@github-actions
Copy link

A preview of this PR can be found at https://tc39.es/proposal-explicit-resource-management/pr/152.

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