| Index: src/parser.cc
|
| diff --git a/src/parser.cc b/src/parser.cc
|
| index 9507b69df6f0d661c4c5f5933882dc897233b2ad..4301f4648326fc5009698bf707d9a7827841e31d 100644
|
| --- a/src/parser.cc
|
| +++ b/src/parser.cc
|
| @@ -1128,7 +1128,8 @@ FunctionLiteral* Parser::ParseLazy(Isolate* isolate, ParseInfo* info,
|
| bool ok = true;
|
|
|
| if (shared_info->is_arrow()) {
|
| - Scope* scope = NewScope(scope_, ARROW_SCOPE);
|
| + Scope* scope =
|
| + NewScope(scope_, ARROW_SCOPE, FunctionKind::kArrowFunction);
|
| scope->set_start_position(shared_info->start_position());
|
| FormalParameterErrorLocations error_locs;
|
| bool has_rest = false;
|
|
|