| Index: test/mjsunit/strong/declaration-after-use.js
|
| diff --git a/test/mjsunit/strong/declaration-after-use.js b/test/mjsunit/strong/declaration-after-use.js
|
| index 020067c1e5aa3c56d8da5e58788235a868b987ac..05df8e835c9b4e9bc8f280374353f270983dac2f 100644
|
| --- a/test/mjsunit/strong/declaration-after-use.js
|
| +++ b/test/mjsunit/strong/declaration-after-use.js
|
| @@ -211,13 +211,14 @@ function assertThrowsHelper(code) {
|
| func2;
|
|
|
| function func4(p, ...rest) { p; rest; this; func2; }
|
| - func4();
|
| + // TODO(arv): The arity checking is not correct with rest parameters.
|
| + func4(1, 2);
|
|
|
| let func5 = (p1, p2) => { p1; p2; };
|
| - func5();
|
| + func5(1, 2);
|
|
|
| let func5b = p1 => p1;
|
| - func5b();
|
| + func5b(1);
|
|
|
| function func6() {
|
| var1, var2a, var2b, var2c;
|
|
|