https://codereview.chromium.org/1178523002/diff/60001/src/preparser.h
File src/preparser.h (right):
https://codereview.chromium.org/1178523002/diff/60001/src/preparser.h#newcode2266
src/preparser.h:2266: ReportMessageAt(scanner()->peek_location(),
On 2015/06/10 13:43:53, rossberg wrote:
Nit: Should this really be an eager error here? It seems like it would
report
something like
(...x,y);
as a malformed rest parameter, although it's not even a parameter
list.
We should mark it in the expression classifier instead, and report it
later on in ParseAssignmentExpression when the arrow is peeked
https://codereview.chromium.org/1178523002/
--
--
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.