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

Unified Diff: test/mjsunit/modules-star-exports-cycle.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 | « test/mjsunit/modules-skip-star-exports-cycle.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/modules-star-exports-cycle.js
diff --git a/test/mjsunit/modules-default.js b/test/mjsunit/modules-star-exports-cycle.js
similarity index 64%
copy from test/mjsunit/modules-default.js
copy to test/mjsunit/modules-star-exports-cycle.js
index 304703b246fb1fd935d54e1bf5af435f65465adb..6af3139af01863455520681505b2fd27fbe3477b 100644
--- a/test/mjsunit/modules-default.js
+++ b/test/mjsunit/modules-star-exports-cycle.js
@@ -4,8 +4,8 @@
//
// MODULE
-import foo from "modules-skip-1.js";
-assertEquals(42, foo);
+const bar = 42;
+export {bar as foo};
-import {default as gaga} from "modules-skip-1.js";
-assertEquals(42, gaga);
+import {foo} from "modules-skip-star-exports-cycle.js";
+assertEquals(42, foo);
« no previous file with comments | « test/mjsunit/modules-skip-star-exports-cycle.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698