| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 7c0332781506cac7f4551a4e883606c85bcad6e6..21c8a0169de6df29dc93ecca4eaf6d8db903cdcb 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -3892,8 +3892,8 @@ FunctionLiteral* Parser::ParseFunctionLiteral(
|
| Expect(Token::RPAREN, CHECK_OK);
|
| int formals_end_position = scanner()->location().end_pos;
|
|
|
| - CheckArityRestrictions(num_parameters, arity_restriction, start_position,
|
| - formals_end_position, CHECK_OK);
|
| + CheckArityRestrictions(num_parameters, arity_restriction, has_rest,
|
| + start_position, formals_end_position, CHECK_OK);
|
|
|
| Expect(Token::LBRACE, CHECK_OK);
|
|
|
|
|