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

Unified Diff: test/mjsunit/harmony/destructuring.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
« no previous file with comments | « test/message/destructuring-decl-no-init-obj2.out ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/destructuring.js
diff --git a/test/mjsunit/harmony/destructuring.js b/test/mjsunit/harmony/destructuring.js
index 92cd7762604f17f0012efe793b4530251dd43b40..904058618ad23cb5520bba639a8fb14615b2c5ca 100644
--- a/test/mjsunit/harmony/destructuring.js
+++ b/test/mjsunit/harmony/destructuring.js
@@ -1103,7 +1103,3 @@
for (const {foo} of [{foo: 1}]) { result = foo; }
assertEquals(1, result);
})();
-
-(function TestDestructuringArrayWithoutInitializer() {
- assertThrows('var [foo]', TypeError);
-})();
« no previous file with comments | « test/message/destructuring-decl-no-init-obj2.out ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698