[Webkit-unassigned] [Bug 152721] Spread operator should be allowed when not the first argument of parameter list

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 8 15:03:47 PST 2016


--- Comment #3 from Joseph Pecoraro <joepeck at webkit.org> ---
Created attachment 268588
  --> https://bugs.webkit.org/attachment.cgi?id=268588&action=review
Incomplete Patch

Passing on to Keith. This WIP changes the parser to parse argument lists allowing for multiple spread arguments:

> ArgumentList[Yield] :
>     AssignmentExpression[In, ?Yield]
>     ... AssignmentExpression[In, ?Yield]
>     ArgumentList[?Yield] , AssignmentExpression[In, ?Yield]
>     ArgumentList[?Yield] , ... AssignmentExpression[In, ?Yield]

But I didn't make any progress inside of BytecodeGenerator::emitCall, which will need to then convert the ArgumentList of expressions which may now include multiple Spread Expressions into a var args call.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160108/c68054d4/attachment.html>

More information about the webkit-unassigned mailing list