| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 5be6d82b67d582b11601b227c0f7b9d739ba2480..8e2d306bc0c1ece9af81dcd4592b81617b5de402 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -3883,8 +3883,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);
|
|
|
|
|