On 2014/06/18 15:08:02, marja wrote:
Hmm, though, detecting "eval" and such complicates the "is comma separated
parameter list" stuff a bit, I guess...

Argh, and the fact that the function can declare itself strict complicates this
even further.

We could maybe go with the approach that just says "invalid strict mode
parameter list" if there is eval or such in it, without pointing to the
location. rossberg@, would that be acceptable?

Like this:

(foo, bar, eval) => { "use strict"; }
^--------------^
malformed strict mode parameter list

https://codereview.chromium.org/160073006/

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