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

Unified Diff: test/message/const-decl-no-init-sloppy.js

Issue 1815033002: Pass legacy const runtime flag to preparser appropriately (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove useless webkit test Created 4 years, 9 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/parsing/parser.cc ('k') | test/message/const-decl-no-init-sloppy.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/const-decl-no-init-sloppy.js
diff --git a/test/message/for-in-loop-initializers-destructuring.js b/test/message/const-decl-no-init-sloppy.js
similarity index 77%
copy from test/message/for-in-loop-initializers-destructuring.js
copy to test/message/const-decl-no-init-sloppy.js
index 9bbfd8d71f822b3dfb1fe922bd29e6b7e7174abd..93c98b2846f1ca43b9c4041403cefbdebd660f59 100644
--- a/test/message/for-in-loop-initializers-destructuring.js
+++ b/test/message/const-decl-no-init-sloppy.js
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-//
+// Flags: --no-legacy-const --harmony-sloppy
function f() {
- for (var [x, y] = {} in {});
+ const a;
}
« no previous file with comments | « src/parsing/parser.cc ('k') | test/message/const-decl-no-init-sloppy.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698