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

Unified Diff: test/mjsunit/es6/block-early-errors.js

Issue 1571793002: Reland of Ship ES2015 sloppy-mode function hoisting, let, class (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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
« no previous file with comments | « test/message/no-legacy-const-3.out ('k') | test/mjsunit/es6/block-eval-var-over-legacy-const.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/block-early-errors.js
diff --git a/test/mjsunit/es6/block-early-errors.js b/test/mjsunit/es6/block-early-errors.js
index bf24942bb1ce8a0f9237deae0763eef8c4efd083..4af6521f6470228faffb5a7f146a86c724eca461 100644
--- a/test/mjsunit/es6/block-early-errors.js
+++ b/test/mjsunit/es6/block-early-errors.js
@@ -25,6 +25,8 @@
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+// Flags: --no-harmony-sloppy-let
+
function CheckException(e) {
var string = e.toString();
assertInstanceof(e, SyntaxError);
« no previous file with comments | « test/message/no-legacy-const-3.out ('k') | test/mjsunit/es6/block-eval-var-over-legacy-const.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698