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

Unified Diff: test/message/destructuring-decl-no-init-array2.js

Issue 1416753009: [parser] early error when declaration Pattern missing Initializer (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments addressed Created 5 years, 1 month 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
Index: test/message/destructuring-decl-no-init-array2.js
diff --git a/test/mjsunit/harmony/regress/regress-517455.js b/test/message/destructuring-decl-no-init-array2.js
similarity index 84%
copy from test/mjsunit/harmony/regress/regress-517455.js
copy to test/message/destructuring-decl-no-init-array2.js
index a59fa181b7aac448df06f2ec0b5c90f32c048981..2e0ded342fbf3835d2b9456598451a27cd428b28 100644
--- a/test/mjsunit/harmony/regress/regress-517455.js
+++ b/test/message/destructuring-decl-no-init-array2.js
@@ -4,5 +4,4 @@
//
// Flags: --harmony-destructuring
-function f({x = ""}) { eval(x) }
-f({})
+for (var [ a ]; a; ) {}
« no previous file with comments | « test/message/destructuring-decl-no-init-array.out ('k') | test/message/destructuring-decl-no-init-array2.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698