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

Unified Diff: test/mjsunit/regress/regress-542100.js

Issue 1799233003: Ship ES2015 restrictions on function declaration locations (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase 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 | « test/mjsunit/regress/regress-542099.js ('k') | test/webkit/fast/js/parser-syntax-check.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/regress/regress-542100.js
diff --git a/test/mjsunit/regress/regress-542100.js b/test/mjsunit/regress/regress-542100.js
index bc03e6f9e2e48be20e5cb82210b5489144c34c27..70fb5dc1473546797dd8ffcd2d47be24280e36a6 100644
--- a/test/mjsunit/regress/regress-542100.js
+++ b/test/mjsunit/regress/regress-542100.js
@@ -3,6 +3,7 @@
// found in the LICENSE file.
// Flags: --harmony-sloppy --harmony-sloppy-function
+// Flags: --no-harmony-restrictive-declarations
(function() {
var x = {a: 1}
« no previous file with comments | « test/mjsunit/regress/regress-542099.js ('k') | test/webkit/fast/js/parser-syntax-check.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698