On 2015/08/12 23:39:29, adamk wrote:
Note that the preparser already (accidentally) seems to throw an error here,
because its implementation of IsValidReferenceExpression() is:

   bool IsValidReferenceExpression() const {
     return IsIdentifier() || IsProperty();
   }

and NewTargetExpression is a PreParserExpression::Default().

Just for the benefit of people touching the parser in the future, i wonder if it
might be worth making that clearer. Or if not, maybe a comment would be good

https://codereview.chromium.org/1290013002/

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