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

Ensure FunctionDeclaration is used for module exports #81

Closed
nzakas opened this issue Mar 7, 2015 · 1 comment
Closed

Ensure FunctionDeclaration is used for module exports #81

nzakas opened this issue Mar 7, 2015 · 1 comment
Labels

Comments

@nzakas
Copy link
Member

nzakas commented Mar 7, 2015

For this case:

export default function() {}

The function should be represented with a FunctionDeclaration node with null id, but is currently represented by a FunctionExpression node.

@nzakas nzakas added the bug label Mar 7, 2015
@nzakas
Copy link
Member Author

nzakas commented Mar 7, 2015

Working on this.

@nzakas nzakas closed this as completed in 42ce538 Mar 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant