https://codereview.chromium.org/203463011/diff/110001/src/runtime.cc
File src/runtime.cc (right):

https://codereview.chromium.org/203463011/diff/110001/src/runtime.cc#newcode11875
src/runtime.cc:11875: if (scope_info->scope_type() != EVAL_SCOPE &&
Considering the comment above: "we only provide the function scope", I
think we want this check here:
scope_info->scope_type() == FUNCTION_SCOPE

https://codereview.chromium.org/203463011/

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