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

Unified Diff: test/message/const-decl-no-init.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-init.js ('k') | test/message/const-decl-no-init2.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/const-decl-no-init.out
diff --git a/test/message/import-reserved-word.out b/test/message/const-decl-no-init.out
similarity index 53%
copy from test/message/import-reserved-word.out
copy to test/message/const-decl-no-init.out
index 5b990e9e590aa6088f1fe5a058eac16f88a238f0..42f1219b3c96e76a52f9736ded98a7f8456a523d 100644
--- a/test/message/import-reserved-word.out
+++ b/test/message/const-decl-no-init.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:7: SyntaxError: Unexpected reserved word
-import { import } from "mod";
- ^^^^^^
-SyntaxError: Unexpected reserved word
+*%(basename)s:6: SyntaxError: Missing initializer in const declaration
+const a;
+ ^
+SyntaxError: Missing initializer in const declaration
« no previous file with comments | « test/message/const-decl-no-init.js ('k') | test/message/const-decl-no-init2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698