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

Unified Diff: test/mjsunit/modules-skip-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-conflict.js ('k') | test/mjsunit/modules-star-exports-cycle.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/modules-skip-star-exports-cycle.js
diff --git a/test/message/for-of-throw-in-body.js b/test/mjsunit/modules-skip-star-exports-cycle.js
similarity index 62%
copy from test/message/for-of-throw-in-body.js
copy to test/mjsunit/modules-skip-star-exports-cycle.js
index 38b27f38632520e292f66b7ab451df00c2c03b68..ab67ca803d5cdc3627fcb8d58f50fa5470d179bc 100644
--- a/test/message/for-of-throw-in-body.js
+++ b/test/mjsunit/modules-skip-star-exports-cycle.js
@@ -2,4 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-for (var x of [1, 2, 3]) { throw 42 }
+export * from "modules-skip-star-exports-cycle.js";
+export * from "modules-star-exports-cycle.js";
« no previous file with comments | « test/mjsunit/modules-skip-star-exports-conflict.js ('k') | test/mjsunit/modules-star-exports-cycle.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698