| Index: test/mjsunit/harmony/rest-params.js
|
| diff --git a/test/mjsunit/harmony/rest-params.js b/test/mjsunit/harmony/rest-params.js
|
| index 5bb258ee68ede31e86a6554f2756f00e01b4ac90..366277b2c1b2dbbfd6c95789f1748cc8fb26e705 100644
|
| --- a/test/mjsunit/harmony/rest-params.js
|
| +++ b/test/mjsunit/harmony/rest-params.js
|
| @@ -2,7 +2,7 @@
|
| // 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-rest-parameters --harmony-arrow-functions
|
|
|
| (function testRestIndex() {
|
| assertEquals(5, (function(...args) { return args.length; })(1,2,3,4,5));
|
| @@ -166,7 +166,6 @@ var O = {
|
| })();
|
|
|
|
|
| -/* TODO(caitp): support arrow functions (blocked on spread operator support)
|
| (function testRestParamsArrowFunctions() {
|
| "use strict";
|
|
|
| @@ -179,4 +178,4 @@ var O = {
|
| assertThrows("var x = ...y => y;", SyntaxError);
|
| assertEquals([], ((...args) => args)());
|
| assertEquals([1,2,3], ((...args) => args)(1,2,3));
|
| -})();*/
|
| +})();
|
|
|