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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/preparser.cc ('k') | test/message/new-target-for-loop.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/for-loop-invalid-lhs.out
diff --git a/test/message/for-loop-invalid-lhs.out b/test/message/for-loop-invalid-lhs.out
index 105eb6461cb11e54f4e8f5c8176eea4b70a520ef..441ba3b60c680a729d986ae92312326b874852be 100644
--- a/test/message/for-loop-invalid-lhs.out
+++ b/test/message/for-loop-invalid-lhs.out
@@ -1,5 +1,5 @@
-*%(basename)s:9: ReferenceError: Invalid left-hand side in for-loop
+*%(basename)s:9: SyntaxError: Invalid left-hand side in for-loop
function f() { for ("unassignable" in {}); }
^^^^^^^^^^^^^^
-ReferenceError: Invalid left-hand side in for-loop
+SyntaxError: Invalid left-hand side in for-loop
« 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