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
ArrowExpression vs ArrowFunctionExpression #2
Comments
Esprima intends to switch to ArrowExpression in its next major release |
...unless, per Mozilla bug 913617 above, Mozilla really executes the plan to switch from ArrowExpression to ArrowFunctionExpression. An alternative would be to use |
How about just keeping |
I am for staying with |
@dherman, care to fill us in on plans here? |
I'll have to ask around. I'm not sure how much tooling would have to change but I wouldn't imagine it's too bad. I'll report back. |
@dherman Any data points on the tooling change effort? |
Looks like it shouldn't be a problem for Mozilla at all. I built https://github.com/dherman/samo and grepped the addons ecosystem and found zero uses of Reflect.parse. I searched mxr for uses in the FF front-end and there are very few. So it should be pretty easy for us to make incompatible changes. |
Closed via 321c836. |
For reference I've submitted a SpiderMonkey patch for feedback: https://bugzilla.mozilla.org/show_bug.cgi?id=913617#c2 |
My fix to SpiderMonkey landed so hopefully by tomorrow Firefox Nightlies will have |
Cool! I guess we can merge #45 now? |
Currently both esprima and acorn use
ArrowFunctionExpression
.The text was updated successfully, but these errors were encountered: