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

export default (1 + 42); does not parse correctly #1087

Closed
mikesherov opened this issue Mar 3, 2015 · 1 comment
Closed

export default (1 + 42); does not parse correctly #1087

mikesherov opened this issue Mar 3, 2015 · 1 comment

Comments

@mikesherov
Copy link
Member

Any old expression is valid as an export, as per spec. It's confusing because the spec says assignmentExpression, but the specs definition of assignmentExpression includes conditionalExpression which includes all expressions.

@ariya
Copy link
Contributor

ariya commented Jun 30, 2015

Harmony branch is not maintained anymore. This example also parses correctly in the master branch.

@ariya ariya closed this as completed Jun 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants