http://codereview.chromium.org/7616009/diff/1/src/contexts.cc
File src/contexts.cc (right):

http://codereview.chromium.org/7616009/diff/1/src/contexts.cc#newcode183
src/contexts.cc:183: case Variable::LET:
On 2011/08/16 11:00:46, Lasse Reichstein wrote:
I believe the current consensus about for(let x = ...; ...; ...)... is
that it
declares an implicit block around the for where the let lives (but
for(let x in
...) will use a new instance for each iteration).

There hasn't been any decision on that yet. At the last meeting, there
were voices in both directions, and Brendon himself seemed rather
undecided. So I would suggest that we go for what we consider more
sensible for now (which I'd argue are rules that are coherent between
different let forms).

http://codereview.chromium.org/7616009/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to