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

Unified Diff: test/mjsunit/global-const-var-conflicts.js

Issue 1571873004: Ship ES2015 sloppy-mode const semantics (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: More test failures noted Created 4 years, 11 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
Index: test/mjsunit/global-const-var-conflicts.js
diff --git a/test/mjsunit/global-const-var-conflicts.js b/test/mjsunit/global-const-var-conflicts.js
index 3b87e3d7be315439ec2d953bea8aa50ebaeeb121..960b3d37535b6af6b339d9d21085c08e03abbbea 100644
--- a/test/mjsunit/global-const-var-conflicts.js
+++ b/test/mjsunit/global-const-var-conflicts.js
@@ -28,6 +28,8 @@
// Check that dynamically introducing conflicting consts/vars
// is silently ignored (and does not lead to exceptions).
+// Flags: --legacy-const
+
var caught = 0;
eval("const a");

Powered by Google App Engine
This is Rietveld 408576698