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

Unified Diff: test/message/export-duplicate.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.js
diff --git a/test/mjsunit/harmony/modules.js b/test/message/export-duplicate.js
similarity index 81%
copy from test/mjsunit/harmony/modules.js
copy to test/message/export-duplicate.js
index e56880500ba359914bbdd7223b43335eac3cc038..f45aefe13f8a427bd7ad5bced7da24db32ec5e25 100644
--- a/test/mjsunit/harmony/modules.js
+++ b/test/message/export-duplicate.js
@@ -4,5 +4,6 @@
//
// MODULE
-export let a = 42;
-assertEquals(42, a);
+var a, b;
+export { a };
+export { a, b };

Powered by Google App Engine
This is Rietveld 408576698