Reviewers: arv, rossberg,
Message:
PTAL.
I have shamelessly stolen bits and pieces of arv@'s patch here :)
I only parse array literal spreads in patterns - spreads are still
disallowed in
array literal expressions.
Description:
[destructuring] Implement spread binding patterns.
[email protected],[email protected]
BUG=v8:811
LOG=N
Please review this at https://codereview.chromium.org/1151503002/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+147, -8 lines):
M src/ast.h
M src/ast-value-factory.h
M src/pattern-rewriter.cc
M src/preparser.h
M src/runtime.js
M test/cctest/test-parsing.cc
M test/mjsunit/harmony/destructuring.js
--
--
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.