https://codereview.chromium.org/1306583002/diff/60001/src/preparser.h
File src/preparser.h (right):

https://codereview.chromium.org/1306583002/diff/60001/src/preparser.h#newcode3604
src/preparser.h:3604: ArrowFormalParametersUnexpectedToken(classifier);
probably want to make sure destructuring still works properly, `({ x: x
= foo.bar }) => {}` for example. I don't expect `({ x = foo.bar }) =>
{}` to work properly because CoverInitializedName parsing is pretty
messed up in maybe-expressions, might be worth marking that as a TODO
though in the test case

This also applies to other tokens which can legally occur in binding
patterns within arrow formals, I guess.

If this is covered by other tests, then that's ok

https://codereview.chromium.org/1306583002/

--
--
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