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

Unified Diff: test/message/const-decl-no-init2.out

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-init2.js ('k') | test/message/destructuring-decl-no-init-array.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/const-decl-no-init2.out
diff --git a/test/message/export-duplicate-default.out b/test/message/const-decl-no-init2.out
similarity index 50%
copy from test/message/export-duplicate-default.out
copy to test/message/const-decl-no-init2.out
index 4c6b97a7a1fc5a70e77d52423140872274d3b8e9..2f61cedb16c9e6d2866840f5deab8e30b236938d 100644
--- a/test/message/export-duplicate-default.out
+++ b/test/message/const-decl-no-init2.out
@@ -1,7 +1,7 @@
# Copyright 2015 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-*%(basename)s:8: SyntaxError: Duplicate export of 'default'
-export default class C {};
- ^^^^^^^
-SyntaxError: Duplicate export of 'default'
+*%(basename)s:6: SyntaxError: Missing initializer in const declaration
+for (const a; ;) {}
+ ^
+SyntaxError: Missing initializer in const declaration
« no previous file with comments | « test/message/const-decl-no-init2.js ('k') | test/message/destructuring-decl-no-init-array.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698