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

Unified Diff: test/mjsunit/modules-skip-cyclic-3.js

Issue 2367623004: [modules] Detect and throw exceptions for cyclic dependencies (Closed)
Patch Set: Handled review comments, added a test 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-cyclic.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-skip-cyclic-3.js
diff --git a/test/message/for-of-throw-in-body.js b/test/mjsunit/modules-skip-cyclic-3.js
similarity index 63%
copy from test/message/for-of-throw-in-body.js
copy to test/mjsunit/modules-skip-cyclic-3.js
index 38b27f38632520e292f66b7ab451df00c2c03b68..ced96270b1e3e951180c3d6eddeb101e3092054b 100644
--- a/test/message/for-of-throw-in-body.js
+++ b/test/mjsunit/modules-skip-cyclic-3.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 {y as a} from "modules-fail-cyclic-3.js";
+export {x as b} from "modules-fail-cyclic-3.js";
« no previous file with comments | « test/mjsunit/modules-skip-cyclic.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698