On 2015/09/02 12:22:32, ruv wrote:
On 2015/08/19 16:10:23, rossberg wrote:
> - In the parser, if a function has a sloppy direct eval, introduce an
additional varblock scope around each non-simple (desugared) parameter, as
required by the spec to contain possible dynamic var bindings.

Could you please clarify, does the engine take into account that in strict
mode
such eval doesn't introduce new variables into the surrounding scope? So, in
such case no need to allow possible dynamic var bindings.

Yes, strict cannot contain a "sloppy direct eval". (Though do-expressions may be
another source of vars in the future, even in strict mode.)

https://codereview.chromium.org/1292753007/

--
--
v8-dev mailing list
v8-dev@googlegroups.com
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 v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to