v8/test
keuchel@chromium.org e8bccc2cb0 Block scoped const variables.
This implements block scoped 'const' declared variables in harmony mode. They
have a temporal dead zone semantics similar to 'let' bindings, i.e. accessing
uninitialized 'const' bindings in throws a ReferenceError.

As for 'let' bindings, the semantics of 'const' bindings in global scope is not
correctly implemented yet. Furthermore assignments to 'const's are silently
ignored. Another CL will introduce treatment of those assignments as early
errors.

Review URL: http://codereview.chromium.org/7992005

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@9764 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
2011-10-25 08:33:08 +00:00
..
benchmarks Switch from sample shell to d8 for unit test 2011-07-26 05:56:45 +00:00
cctest The detailed heap snapshot generator was slightly adjusted for tracking sliced strings. 2011-10-21 13:05:37 +00:00
es5conform Fixed status file of es5conform test suite. 2011-10-07 15:02:42 +00:00
message Fix bug introduced by earlier "cleanup". 2011-08-22 12:54:03 +00:00
mjsunit Block scoped const variables. 2011-10-25 08:33:08 +00:00
mozilla Fix evaluation order of GT and LTE operators. 2011-10-17 07:43:40 +00:00
preparser Disallow strict mode FutureReservedWords as break/continue labels in strict mode 2011-09-22 16:38:28 +00:00
sputnik Adapt sputnik test expectations to last change. 2011-10-19 15:34:32 +00:00
test262 Fix handling Function.apply for non-array arguments. 2011-10-19 13:56:18 +00:00