v8/test/mjsunit/harmony/regress
dslomov 6ac4de87a8 harmony-scoping: make assignment to 'const' a late error.
Per TC39 Nov 2014 decision.

This patch also changes behavior for "legacy const": assignments to sloppy const in strict mode is now also a type error. This fixes v8:2243 and also brings us in compliance with other engines re assignment to function names (see updated webkit test), but might have bigger implications.
That change can easily be reverted by changing Variable::IsSignallingAssignmentToConst.

BUG=v8:3713,v8:2243
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#25516}
2014-11-26 11:21:23 +00:00
..
regress-2219.js Move all Harmony-only tests to harmony/ 2014-02-28 14:26:32 +00:00
regress-2225.js Move all Harmony-only tests to harmony/ 2014-02-28 14:26:32 +00:00
regress-2243.js harmony-scoping: make assignment to 'const' a late error. 2014-11-26 11:21:23 +00:00
regress-2322.js Move all Harmony-only tests to harmony/ 2014-02-28 14:26:32 +00:00
regress-2858.js harmony-scoping: Catch variable should be VAR, not LET 2014-11-25 14:48:39 +00:00
regress-3426.js Fix several issues with ES6 redeclaration checks 2014-07-09 11:35:05 +00:00
regress-3683.js Fix desugaring of let bindings in for loops to handle continue properly 2014-11-14 19:33:23 +00:00
regress-173361.js Move all Harmony-only tests to harmony/ 2014-02-28 14:26:32 +00:00
regress-343928.js Remove --harmony implications for incomplete features 2014-11-04 16:05:44 +00:00
regress-405844.js Ensure that JSProxy::Fix gives the generated JSObject map a constructor 2014-08-27 15:54:23 +00:00
regress-crbug-347528.js Move all Harmony-only tests to harmony/ 2014-02-28 14:26:32 +00:00
regress-lookup-transition.js Move all Harmony-only tests to harmony/ 2014-02-28 14:26:32 +00:00
regress-observe-empty-double-array.js Re^3-land "Ship promises and weak collections" 2014-05-06 14:48:34 +00:00