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

Unified Diff: test/message/import-as-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-as-reserved-word.js ('k') | test/message/import-eval.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/import-as-reserved-word.out
diff --git a/test/message/export-duplicate-as.out b/test/message/import-as-reserved-word.out
similarity index 51%
copy from test/message/export-duplicate-as.out
copy to test/message/import-as-reserved-word.out
index 1726d9491a39fab654093e6b6cda30d265cc015b..1ee8d41c1afa3a77b0dd971ea4652a70a567317c 100644
--- a/test/message/export-duplicate-as.out
+++ b/test/message/import-as-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 { foo as import } from "mod";
+ ^^^^^^
+SyntaxError: Unexpected reserved word
« no previous file with comments | « test/message/import-as-reserved-word.js ('k') | test/message/import-eval.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698