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

Unified Diff: test/message/export-duplicate-as.js

Issue 934323004: Teach ModuleDescriptor about basic local exports (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Handled review comments, added message tests 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
Index: test/message/export-duplicate-as.js
diff --git a/test/mjsunit/harmony/modules.js b/test/message/export-duplicate-as.js
similarity index 78%
copy from test/mjsunit/harmony/modules.js
copy to test/message/export-duplicate-as.js
index e56880500ba359914bbdd7223b43335eac3cc038..49b52d4b17177e9443445f00379227cce07a034d 100644
--- a/test/mjsunit/harmony/modules.js
+++ b/test/message/export-duplicate-as.js
@@ -4,5 +4,6 @@
//
// MODULE
-export let a = 42;
-assertEquals(42, a);
+var a, b;
+export { a as c };
+export { a, b as c };

Powered by Google App Engine
This is Rietveld 408576698