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

Crash on exported generator function #289

Closed
alangpierce opened this issue Jul 2, 2018 · 0 comments
Closed

Crash on exported generator function #289

alangpierce opened this issue Jul 2, 2018 · 0 comments
Assignees
Labels

Comments

@alangpierce
Copy link
Owner

This code when compiled with the exports transform:

export function* foo() {}

crashes with this error:

Error transforming sample.tsx: Expected identifier for exported function name.

Playground link

@alangpierce alangpierce added the bug label Jul 2, 2018
@alangpierce alangpierce self-assigned this Jul 2, 2018
alangpierce added a commit that referenced this issue Jul 2, 2018
alangpierce added a commit that referenced this issue Jul 2, 2018
alangpierce added a commit that referenced this issue Jul 2, 2018
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