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

Unified Diff: test/message/const-decl-no-init2.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/const-decl-no-init.out ('k') | test/message/const-decl-no-init2.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/const-decl-no-init2.js
diff --git a/test/message/super-in-function.js b/test/message/const-decl-no-init2.js
similarity index 85%
copy from test/message/super-in-function.js
copy to test/message/const-decl-no-init2.js
index f2e2342c31b9a3ba001555bcf484d0c773fbb79e..586b783d64e8909f7c23df7bbfd696ad0bc45903 100644
--- a/test/message/super-in-function.js
+++ b/test/message/const-decl-no-init2.js
@@ -2,9 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-
'use strict';
-
-function f() {
- super.x();
-}
+for (const a; ;) {}
« no previous file with comments | « test/message/const-decl-no-init.out ('k') | test/message/const-decl-no-init2.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698