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

Unified Diff: test/message/for-loop-invalid-lhs.out

Issue 1290193003: Align PreParser for loop early error-checking with Parser (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « test/message/for-loop-invalid-lhs.js ('k') | no next file » | 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
new file mode 100644
index 0000000000000000000000000000000000000000..105eb6461cb11e54f4e8f5c8176eea4b70a520ef
--- /dev/null
+++ b/test/message/for-loop-invalid-lhs.out
@@ -0,0 +1,5 @@
+*%(basename)s:9: ReferenceError: Invalid left-hand side in for-loop
+function f() { for ("unassignable" in {}); }
+ ^^^^^^^^^^^^^^
+ReferenceError: Invalid left-hand side in for-loop
+
« no previous file with comments | « test/message/for-loop-invalid-lhs.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698