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

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

Issue 2379063002: Revert of [modules] Properly initialize declared variables. (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-init2.js ('k') | test/mjsunit/modules-skip-init1.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/modules-init3.js
diff --git a/test/mjsunit/modules-init3.js b/test/mjsunit/modules-init3.js
deleted file mode 100644
index 36ff1e8ffac6d107ffd5df3c68201d45bcf02cc8..0000000000000000000000000000000000000000
--- a/test/mjsunit/modules-init3.js
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2016 the V8 project authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-//
-// MODULE
-
-import {check} from "modules-skip-init3.js";
-
-assertSame(undefined, w);
-assertThrows(() => x, ReferenceError);
-assertThrows(() => y, ReferenceError);
-assertThrows(() => z, ReferenceError);
-
-export function* v() { return 40 }
-export var w = 41;
-export let x = 42;
-export class y {};
-export const z = "hello world";
-
-assertTrue(check());
« no previous file with comments | « test/mjsunit/modules-init2.js ('k') | test/mjsunit/modules-skip-init1.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698