https://codereview.chromium.org/1234383002/diff/1/src/parser.cc
File src/parser.cc (right):
https://codereview.chromium.org/1234383002/diff/1/src/parser.cc#newcode5940
src/parser.cc:5940: args->InsertAt(0, get_prototype, zone());
On 2015/07/16 11:59:34, rossberg wrote:
On 2015/07/16 11:47:19, caitp wrote:
> Don't you need to also initialize `this` after the call?
Indeed, it seems like we have zero test coverage for checking the
return value
of super calls, with spread or without.
Looks like https://crrev.com/1226123010 handles the `this`
initialization, just could not see it in this one.
There is definitely some code coverage for this in
harmony/spread-call-new-classes and a few other places, which would fail
without the initialization
https://codereview.chromium.org/1234383002/
--
--
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.