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
Arrow parse #1051
Arrow parse #1051
Conversation
Test262 conformance changes:
|
Benchmark for 033786fClick to view benchmark
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks very good, thanks! Could we add also a test to check for 3 arguments? Just in case.
Also a couple of prints left.
Codecov Report
@@ Coverage Diff @@
## master #1051 +/- ##
=======================================
Coverage 58.31% 58.31%
=======================================
Files 172 172
Lines 12007 12007
=======================================
Hits 7002 7002
Misses 5005 5005
Continue to review full report at Codecov.
|
Benchmark for b4c6ed8Click to view benchmark
|
Fixes #1032
Fixes a bug in arrow function parsing which prevented the assignment of arrow functions with a single argument using parentheses (e.g.
let foo = (a) => a
)Arrow functions with > 1 argument or arrow functions that don't use parentheses already parse correctly