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

Unified Diff: test/message/new-target-prefix-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-postfix-op.out ('k') | test/message/new-target-prefix-op.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/new-target-prefix-op.js
diff --git a/test/message/arrow-strict-eval-bare-parameter.js b/test/message/new-target-prefix-op.js
similarity index 73%
copy from test/message/arrow-strict-eval-bare-parameter.js
copy to test/message/new-target-prefix-op.js
index d5692517dd3e59b3d359d70ab455ad1c2b0f0bad..ad2f98a46c773a7a4a66f58b5a9f63f428af7416 100644
--- a/test/message/arrow-strict-eval-bare-parameter.js
+++ b/test/message/new-target-prefix-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-postfix-op.out ('k') | test/message/new-target-prefix-op.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698