Chromium Code Reviews

Unified Diff: test/message/import-as-redeclaration.js

Issue 948303004: Re-introduce ImportDeclaration to the parser (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: test/message/import-as-redeclaration.js
diff --git a/test/message/import-eval.js b/test/message/import-as-redeclaration.js
similarity index 79%
copy from test/message/import-eval.js
copy to test/message/import-as-redeclaration.js
index 8ab35baef672a45d6a449fd328941dc4ff9a00eb..43bf278d1b85d91d67d7e60d712c597138d76f59 100644
--- a/test/message/import-eval.js
+++ b/test/message/import-as-redeclaration.js
@@ -4,4 +4,5 @@
//
// MODULE
-import { eval } from "mod";
+let foo = 42;
+import { bar as foo } from "mod";

Powered by Google App Engine