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

Unified Diff: test/message/import-reserved-word.out

Issue 952863006: Simplify error message logic in ParseImportNames (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixed nit Created 5 years, 10 months 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/import-reserved-word.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/import-reserved-word.out
diff --git a/test/message/export-duplicate-as.out b/test/message/import-reserved-word.out
similarity index 54%
copy from test/message/export-duplicate-as.out
copy to test/message/import-reserved-word.out
index 1726d9491a39fab654093e6b6cda30d265cc015b..5b990e9e590aa6088f1fe5a058eac16f88a238f0 100644
--- a/test/message/export-duplicate-as.out
+++ b/test/message/import-reserved-word.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:9: SyntaxError: Duplicate export of 'c'
-export { a, b as c };
- ^
-SyntaxError: Duplicate export of 'c'
+*%(basename)s:7: SyntaxError: Unexpected reserved word
+import { import } from "mod";
+ ^^^^^^
+SyntaxError: Unexpected reserved word
« no previous file with comments | « test/message/import-reserved-word.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698