-
-
Notifications
You must be signed in to change notification settings - Fork 411
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
[Merged by Bors] - Fix spread arguments in function calls #2216
Conversation
Test262 conformance changesVM implementation
Fixed tests (76):
|
Codecov Report
@@ Coverage Diff @@
## main #2216 +/- ##
==========================================
- Coverage 41.54% 41.51% -0.03%
==========================================
Files 234 234
Lines 21891 21878 -13
==========================================
- Hits 9094 9083 -11
+ Misses 12797 12795 -2
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
652db85
to
b80ef32
Compare
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 good to me :)
b80ef32
to
7018a0c
Compare
bors r+ |
Currently we only spread spread-expressions if they are the last argument in the function call. With this fix all arguments are spread if needed. The downside is that an array object is allocated to store all arguments if the arguments contain a spread-expression. But with dense indexed properties inplemented in #2167 this should be reasonably fast.
Pull request successfully merged into main. Build succeeded: |
Currently we only spread spread-expressions if they are the last argument in the function call. With this fix all arguments are spread if needed. The downside is that an array object is allocated to store all arguments if the arguments contain a spread-expression. But with dense indexed properties inplemented in #2167 this should be reasonably fast.