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

Unified Diff: test/message/const-decl-no-init.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/cctest/test-parsing.cc ('k') | test/message/const-decl-no-init.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/const-decl-no-init.js
diff --git a/test/message/arrow-formal-parameters.js b/test/message/const-decl-no-init.js
similarity index 87%
copy from test/message/arrow-formal-parameters.js
copy to test/message/const-decl-no-init.js
index 30f9c8604800879df5a265a7545ad9476d991e92..7a47a1319a97c5085b411292e326102abfdcb548 100644
--- a/test/message/arrow-formal-parameters.js
+++ b/test/message/const-decl-no-init.js
@@ -2,4 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-(b, a, a, d) => a
+'use strict';
+const a;
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | test/message/const-decl-no-init.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698