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

Unified Diff: test/mjsunit/modules-init1.js

Issue 2375793002: Reland: [modules] Properly initialize declared variables. (Closed)
Patch Set: Update CompilerHints. 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-error-trace.js ('k') | test/mjsunit/modules-init2.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/modules-init1.js
diff --git a/test/mjsunit/modules-fail-1.js b/test/mjsunit/modules-init1.js
similarity index 69%
copy from test/mjsunit/modules-fail-1.js
copy to test/mjsunit/modules-init1.js
index 3e286475148b5c34da3e26fef88a421a6a7c9adb..fbc8df2cd128246eef8b354fad42d766cd9e2acd 100644
--- a/test/mjsunit/modules-fail-1.js
+++ b/test/mjsunit/modules-init1.js
@@ -4,4 +4,6 @@
//
// MODULE
-import {a} from "modules-fail-1.js";
+import "modules-skip-init1.js";
+export function bar() { return 42 };
+bar = 5;
« no previous file with comments | « test/mjsunit/modules-error-trace.js ('k') | test/mjsunit/modules-init2.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698