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

Unified Diff: test/mjsunit/modules-skip-2.js

Issue 2362083002: [modules] Do basic linking. (Closed)
Patch Set: Rename files because the presubmit tool is so fragile. 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-1.js ('k') | test/mjsunit/modules-skip-3.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/modules-skip-2.js
diff --git a/test/message/for-of-throw-in-body.js b/test/mjsunit/modules-skip-2.js
similarity index 59%
copy from test/message/for-of-throw-in-body.js
copy to test/mjsunit/modules-skip-2.js
index 38b27f38632520e292f66b7ab451df00c2c03b68..fdd576a988d067e5aca39ade21f0ec0da3ab5236 100644
--- a/test/message/for-of-throw-in-body.js
+++ b/test/mjsunit/modules-skip-2.js
@@ -2,4 +2,6 @@
// 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 {a as b, default} from "modules-skip-1.js";
+import {a as tmp} from "modules-skip-1.js";
+export {tmp as c};
« no previous file with comments | « test/mjsunit/modules-skip-1.js ('k') | test/mjsunit/modules-skip-3.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698