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

Side by Side Diff: test/message/for-loop-invalid-lhs.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 | « src/preparser.cc ('k') | test/message/new-target-for-loop.out » ('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:9: ReferenceError: Invalid left-hand side in for-loop 1 *%(basename)s:9: SyntaxError: Invalid left-hand side in for-loop
2 function f() { for ("unassignable" in {}); } 2 function f() { for ("unassignable" in {}); }
3 ^^^^^^^^^^^^^^ 3 ^^^^^^^^^^^^^^
4 ReferenceError: Invalid left-hand side in for-loop 4 SyntaxError: Invalid left-hand side in for-loop
5 5
OLDNEW
« no previous file with comments | « src/preparser.cc ('k') | test/message/new-target-for-loop.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698