https://codereview.chromium.org/938443002/diff/40001/test/mjsunit/harmony/spread-call.js
File test/mjsunit/harmony/spread-call.js (right):

https://codereview.chromium.org/938443002/diff/40001/test/mjsunit/harmony/spread-call.js#newcode3
test/mjsunit/harmony/spread-call.js:3: // found in the LICENSE file.
What is the expected evaluation order of the following snippet? Is it
"ABCXY" or "ABXYC"? And can we have tests for it?

function* gen() { print('X'); yield 0; print('Y'); }

function a() { print('A'); }
function b() { print('B'); return gen(); }
function b() { print('C'); }
foo(a(), ...(b()), c());

https://codereview.chromium.org/938443002/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to