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

Unified Diff: test/message/default-parameter-tdz-arrow.js

Issue 1468143004: [es6] Self-assignment in a default parameter initializer should throw (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Change less behavior, add TODO Created 5 years, 1 month 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/default-parameter-tdz.out ('k') | test/message/default-parameter-tdz-arrow.out » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/message/default-parameter-tdz-arrow.js
diff --git a/test/message/arrow-param-after-rest.js b/test/message/default-parameter-tdz-arrow.js
similarity index 74%
copy from test/message/arrow-param-after-rest.js
copy to test/message/default-parameter-tdz-arrow.js
index 3284606a4e968f19fc32da31011d4988b40655b1..cad091f8ac66f0607846ee63a387567fea0e129c 100644
--- a/test/message/arrow-param-after-rest.js
+++ b/test/message/default-parameter-tdz-arrow.js
@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
-// Flags: --harmony-rest-parameters
+// Flags: --harmony-default-parameters
-(...x, y) => 10
+((a=-a) => { })();
« no previous file with comments | « test/message/default-parameter-tdz.out ('k') | test/message/default-parameter-tdz-arrow.out » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698