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

Unified Diff: test/mjsunit/modules-fail-star-exports-conflict.js

Issue 2376563002: [modules] Don't throw when detecting cycle while processing star exports. (Closed)
Patch Set: Created 4 years, 3 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 | « src/objects.cc ('k') | test/mjsunit/modules-skip-star-exports-conflict.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/modules-fail-star-exports-conflict.js
diff --git a/test/mjsunit/modules-default.js b/test/mjsunit/modules-fail-star-exports-conflict.js
similarity index 55%
copy from test/mjsunit/modules-default.js
copy to test/mjsunit/modules-fail-star-exports-conflict.js
index 304703b246fb1fd935d54e1bf5af435f65465adb..6e2b2193422e770ee4f92f2a8dc0affa3f2d62dc 100644
--- a/test/mjsunit/modules-default.js
+++ b/test/mjsunit/modules-fail-star-exports-conflict.js
@@ -4,8 +4,7 @@
//
// MODULE
-import foo from "modules-skip-1.js";
-assertEquals(42, foo);
+export * from "modules-skip-star-exports-conflict.js";
+export * from "modules-skip-6.js";
-import {default as gaga} from "modules-skip-1.js";
-assertEquals(42, gaga);
+import {a} from "modules-fail-star-exports-conflict.js";
« no previous file with comments | « src/objects.cc ('k') | test/mjsunit/modules-skip-star-exports-conflict.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698