You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 19, 2018. It is now read-only.
This may be the same as #36. The repro in that issue doesn't seem to work anymore, but there's a test so I'm surprised. Decided to open a new issue since that one is old and closed but happy to move discussion back there.
The text was updated successfully, but these errors were encountered:
Hey @mroch! We really appreciate you taking the time to report an issue. The collaborators
on this project attempt to help as many people as possible, but we're a limited number of volunteers,
so it's possible this won't be addressed swiftly.
If you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack
community that typically always has someone willing to help. You can sign-up here
for an invite.
Input Code
Babylon/Babel Configuration
jsx, flow
Expected Behavior
Flow parses this as a JSXExpressionStatement containing a FunctionExpression containing a GenericTypeAnnotation returnType.
Current Behavior
Babylon gets into some sort of bad state and errors about unexpected tokens.
Your Environment
This may be the same as #36. The repro in that issue doesn't seem to work anymore, but there's a test so I'm surprised. Decided to open a new issue since that one is old and closed but happy to move discussion back there.
The text was updated successfully, but these errors were encountered: