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

Unified Diff: test/message/new-target-postfix-op.js

Issue 1290013002: [es6] Make assignment to new.target an early ReferenceError (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add a few more tests 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
« no previous file with comments | « test/message/new-target-for-loop.out ('k') | test/message/new-target-postfix-op.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/new-target-postfix-op.js
diff --git a/test/message/arrow-strict-eval-bare-parameter.js b/test/message/new-target-postfix-op.js
similarity index 73%
copy from test/message/arrow-strict-eval-bare-parameter.js
copy to test/message/new-target-postfix-op.js
index d5692517dd3e59b3d359d70ab455ad1c2b0f0bad..573f3ae3a7176fc74034d4c41b16a84771f2ebb9 100644
--- a/test/message/arrow-strict-eval-bare-parameter.js
+++ b/test/message/new-target-postfix-op.js
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Flags: --harmony-arrow-functions
+// Flags: --harmony-new-target
-"use strict";
-eval => 42
+function f() { new.target++ }
« no previous file with comments | « test/message/new-target-for-loop.out ('k') | test/message/new-target-postfix-op.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698