| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index be80956b69323bd8890d0da824f5f83cbfa2c36f..a552c2ae86c9f2878f7021416670e50567351981 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -1217,8 +1217,10 @@ FunctionLiteral* Parser::ParseLazy(Isolate* isolate, ParseInfo* info,
|
|
|
| if (ok) {
|
| checkpoint.Restore(&formals.materialized_literals_count);
|
| + // Pass `accept_IN=true` to ParseArrowFunctionLiteral --- This should
|
| + // not be observable, or else the preparser would have failed.
|
| Expression* expression =
|
| - ParseArrowFunctionLiteral(formals, formals_classifier, &ok);
|
| + ParseArrowFunctionLiteral(true, formals, formals_classifier, &ok);
|
| if (ok) {
|
| // Scanning must end at the same position that was recorded
|
| // previously. If not, parsing has been interrupted due to a stack
|
|
|