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

Unified Diff: test/mjsunit/modules-skip-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-init3.js ('k') | test/mjsunit/modules-skip-init3.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/modules-skip-init1.js
diff --git a/test/mjsunit/regress/string-compare-memcmp.js b/test/mjsunit/modules-skip-init1.js
similarity index 64%
copy from test/mjsunit/regress/string-compare-memcmp.js
copy to test/mjsunit/modules-skip-init1.js
index 45f47343ee84fcd71c94d63a32210c83ca8c091d..4eb4a0a8657231d7e2c6069d19b748c8df763be7 100644
--- a/test/mjsunit/regress/string-compare-memcmp.js
+++ b/test/mjsunit/modules-skip-init1.js
@@ -2,6 +2,5 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// Flags: --allow-natives-syntax
-
-assertEquals(-1, %StringCompare("abc\u0102", "abc\u0201"));
+import {bar} from "modules-init1.js";
+assertEquals(42, bar());
« no previous file with comments | « test/mjsunit/modules-init3.js ('k') | test/mjsunit/modules-skip-init3.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698