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

Unified Diff: test/mjsunit/harmony/block-scope-class.js

Issue 1282093002: Split function block scoping into a separate flag (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Propagate flag Created 5 years, 4 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/harmony/block-scope-class.js
diff --git a/test/mjsunit/harmony/block-scope-class.js b/test/mjsunit/harmony/block-scope-class.js
index aff02bcff2d3471c30fae082edc102a3289a3348..0afb5fa131157a118ae3ebe8c8ef80d0d7354c3c 100644
--- a/test/mjsunit/harmony/block-scope-class.js
+++ b/test/mjsunit/harmony/block-scope-class.js
@@ -4,7 +4,7 @@
// Test for conflicting variable bindings.
-// Flags: --harmony-sloppy
+// Flags: --harmony-sloppy --harmony-block-function
function AssertEqualsStrictAndSloppy(value, code) {
assertEquals(value, eval("(function() {" + code + "})()"));

Powered by Google App Engine
This is Rietveld 408576698