Comment #13 on issue 4211 by [email protected]: Wrong precedence for arrow function without parameters
https://code.google.com/p/v8/issues/detail?id=4211#c13

The following revision refers to this bug:
https://chromium.googlesource.com/v8/v8.git/+/bb43d6c0324793380c95b36664fdf184e88fbdbd

commit bb43d6c0324793380c95b36664fdf184e88fbdbd
Author: wingo <[email protected]>
Date: Fri Aug 21 09:28:54 2015

Fix parsing of arrow function formal parameters

Not all parenthesized AssignmentExpressions whose components are valid
binding patterns are valid arrow function formal parameters.  In
particular (a,b,c)() is not valid, and in general the existing code
wasn't catching the tail productions of ConditionalExpression,
BinaryExpression, PostfixExpression, LeftHandSideExpression,
and MemberExpression.

Thanks to Adrian Perez for the test case.

BUG=v8:4211
LOG=Y
[email protected]

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

Cr-Commit-Position: refs/heads/master@{#30286}

[modify] http://crrev.com/bb43d6c0324793380c95b36664fdf184e88fbdbd/src/preparser.h [modify] http://crrev.com/bb43d6c0324793380c95b36664fdf184e88fbdbd/test/cctest/test-parsing.cc


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

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