Reject uses of lexical for-loop variable on the RHS.
authorrossberg@chromium.org <rossberg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 5 Oct 2012 09:07:53 +0000 (09:07 +0000)
committerrossberg@chromium.org <rossberg@chromium.org@ce2b1a6d-e550-0410-aec6-3dcde31c8c00>
Fri, 5 Oct 2012 09:07:53 +0000 (09:07 +0000)
commit3f7b5c338afcba4d9d15b0c9ed4e747fb135c47b
treebf015fe736d1e08649537ff89d66187054751972
parentf1d3d734de36f9512fbda43c91105deaa0f65b0e
Reject uses of lexical for-loop variable on the RHS.

R=mstarzinger@chromium.org
BUG=v8:2322

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

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@12664 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
src/parser.cc
test/mjsunit/regress/regress-2322.js [new file with mode: 0644]