Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: test/message/new-target-for-loop.out

Issue 1292393002: [parser] make kInvalidLhsInFor a SyntaxError (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Correct tests Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/message/for-loop-invalid-lhs.out ('k') | test/mjsunit/harmony/new-target.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 *%(basename)s:7: ReferenceError: Invalid left-hand side in for-loop 1 *%(basename)s:7: SyntaxError: Invalid left-hand side in for-loop
2 function f() { for (new.target in {}); } 2 function f() { for (new.target in {}); }
3 ^^^^^^^^^^ 3 ^^^^^^^^^^
4 ReferenceError: Invalid left-hand side in for-loop 4 SyntaxError: Invalid left-hand side in for-loop
OLDNEW
« no previous file with comments | « test/message/for-loop-invalid-lhs.out ('k') | test/mjsunit/harmony/new-target.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698