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 }}
Repository navigation
export loses inferred anonymous function name #5630
Hey @srajko! 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.
Hm, 5620 is about the arrow transform itself. That is already handled correctly by non-spec mode, but 5620 would fix the spec mode transform.
This bug is about losing the arrow function name when the arrow function is not transformed, only modules is. Probably can't be fixed without using getters (spec modules), or a hack using object wrapping ({f2: () => {}}.f2).
Activity
babel-bot commentedon Apr 14, 2017
Hey @srajko! 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.
xtuc commentedon Apr 19, 2017
Seems related to #5620
cc @Kovensky
Jessidhia commentedon May 3, 2017
Hm, 5620 is about the arrow transform itself. That is already handled correctly by non-spec mode, but 5620 would fix the spec mode transform.
This bug is about losing the arrow function name when the arrow function is not transformed, only modules is. Probably can't be fixed without using getters (spec modules), or a hack using object wrapping (
{f2: () => {}}.f2).