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

Unified Diff: test/message/let-lexical-name-prohibited.js

Issue 1371263003: Prohibit let in lexical bindings (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove messages.js test Created 5 years, 2 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/cctest/test-parsing.cc ('k') | test/message/let-lexical-name-prohibited.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/let-lexical-name-prohibited.js
diff --git a/test/message/export-duplicate.js b/test/message/let-lexical-name-prohibited.js
similarity index 75%
copy from test/message/export-duplicate.js
copy to test/message/let-lexical-name-prohibited.js
index f45aefe13f8a427bd7ad5bced7da24db32ec5e25..ed72faed8eb6b891e3c82c9321227afb2022d480 100644
--- a/test/message/export-duplicate.js
+++ b/test/message/let-lexical-name-prohibited.js
@@ -2,8 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// MODULE
+// Flags: --harmony-sloppy --harmony-sloppy-let
-var a, b;
-export { a };
-export { a, b };
+let let;
« no previous file with comments | « test/cctest/test-parsing.cc ('k') | test/message/let-lexical-name-prohibited.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698