v8/test/mjsunit/es6/regress
adamk 62572e011e [es6] Ensure that for-in/of loops have a proper TDZ for their lexically-bound variables
The enumerable expression in a for-in/of loop is supposed to have a TDZ for any
lexically bound names in that loop (there can be more than one with destructuring).

This patch accomplishes this with an almost-correct desugaring. The only thing missing
is proper debugger support (the let declarations added by the desugaring, while invisible
to code due to shadowing, are visible to the debugger).

BUG=v8:4210
LOG=n

Review URL: https://codereview.chromium.org/1218543003

Cr-Commit-Position: refs/heads/master@{#29396}
2015-07-01 00:27:30 +00:00
..
regress-2034.js Re^3-land "Ship promises and weak collections" 2014-05-06 14:48:34 +00:00
regress-2156.js Re^3-land "Ship promises and weak collections" 2014-05-06 14:48:34 +00:00
regress-2186.js Enable ES6 Map and Set by default 2014-08-05 19:37:32 +00:00
regress-2243.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
regress-2322.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
regress-2506.js [es6] Ensure that for-in/of loops have a proper TDZ for their lexically-bound variables 2015-07-01 00:27:30 +00:00
regress-2681.js Enable ES6 generators 2014-09-16 12:30:39 +00:00
regress-2691.js Enable ES6 generators 2014-09-16 12:30:39 +00:00
regress-2829.js Re^3-land "Ship promises and weak collections" 2014-05-06 14:48:34 +00:00
regress-2858.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
regress-3280.js Enable ES6 generators 2014-09-16 12:30:39 +00:00
regress-3426.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
regress-3683.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
regress-3741.js Remove --harmony-scoping flag. 2015-03-13 15:15:57 +00:00
regress-3750.js [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
regress-3902.js Make generator constructors configurable 2015-02-19 11:30:33 +00:00
regress-3938.js [es6] Fix for-const loops 2015-03-03 18:34:40 +00:00
regress-4097.js Fix test formatting 2015-05-12 18:12:54 +00:00
regress-347906.js [harmony] Move some regression tests to the right place 2015-03-20 11:03:14 +00:00
regress-411237.js [harmony] Move some regression tests to the right place 2015-03-20 11:03:14 +00:00
regress-455141.js [es6] Remove harmony-classes flag 2015-06-26 21:16:58 +00:00
regress-468661.js Stack allocate lexical locals + hoist stack slots 2015-04-22 13:22:18 +00:00
regress-474783.js Handle the case when derived constructor is [[Call]]ed with 0 args. 2015-05-05 19:57:04 +00:00
regress-cr372788.js Drop thenable coercion cache 2014-05-14 10:44:34 +00:00
regress-cr493566.js [es6] Make sure we call add property when adding a new property 2015-06-11 21:24:41 +00:00
regress-crbug-248025.js Enable ES6 iteration by default 2014-08-07 16:42:14 +00:00
regress-crbug-346141.js Enable ES6 Symbols by default 2014-08-04 18:17:54 +00:00