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

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

Issue 1401253003: Check for let in lexically bound names for short object literals (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « src/preparser.h ('k') | test/message/let-lexical-name-in-object-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-in-object-prohibited.js
diff --git a/test/message/arrow-param-after-rest.js b/test/message/let-lexical-name-in-object-prohibited.js
similarity index 67%
copy from test/message/arrow-param-after-rest.js
copy to test/message/let-lexical-name-in-object-prohibited.js
index 3284606a4e968f19fc32da31011d4988b40655b1..e4027a0b32435189425f70fab78e269470889855 100644
--- a/test/message/arrow-param-after-rest.js
+++ b/test/message/let-lexical-name-in-object-prohibited.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Flags: --harmony-rest-parameters
+// Flags: --harmony-sloppy --harmony-sloppy-let --harmony-destructuring
-(...x, y) => 10
+let {let};
« no previous file with comments | « src/preparser.h ('k') | test/message/let-lexical-name-in-object-prohibited.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698