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

ES2020 export ns from #2053

Open
ljqx opened this issue Dec 7, 2020 · 0 comments · May be fixed by #2055
Open

ES2020 export ns from #2053

ljqx opened this issue Dec 7, 2020 · 0 comments · May be fixed by #2055

Comments

@ljqx
Copy link
Contributor

ljqx commented Dec 7, 2020

Steps to reproduce

esprima.parse('export * as someIdentifier from "someModule";')

Expected output

A syntax tree.

Actual output

Error: Line 1: Unexpected token as

Relevant references

Spec: https://github.com/tc39/proposal-export-ns-from
ESTree: https://github.com/estree/estree/blob/master/es2020.md#exportalldeclaration
ECMA 262 PR: tc39/ecma262#1174

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant