-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
HoistableDeclaration
for export default function () {}
#208
Comments
Isn't |
This is how the syntax is defined.
And since there's no |
Ah right, you mean for anonymous functions. Does this really necessitate the addition of another node type when |
It'd be really unfortunate to introduce a new node type for that. |
@michaelficarra Agreed. Adds unnecessary complications for consumers. |
no, it is not equivalent because
to this:
this is especially important if we are going do to any folding/bundling where the order of the definitions for the cycles is important. |
@caridy Yeah sure, but I'm arguing about representing it differently using an already existing construct. |
It'd be best to keep the discussion to jquery/esprima#311 |
Given that |
follow up from the discussion on jquery/esprima#311
after a quick look at the source, I don't see
HoistableDeclaration
.I only see this:
we are missing
expr.type
forHoistableDeclaration
./cc @sebmck
The text was updated successfully, but these errors were encountered: