Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 9894339c45c4c732d6b253b553864d8e24d8d1f8..9113e8c7a4e3ba46b936b38d1f4627ff0c426cf4 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -1190,7 +1190,7 @@ FunctionLiteral* Parser::ParseLazy(Isolate* isolate, ParseInfo* info, |
if (shared_info->is_arrow()) { |
Scope* scope = |
- NewScope(scope_, ARROW_SCOPE, FunctionKind::kArrowFunction); |
+ NewScope(scope_, FUNCTION_SCOPE, FunctionKind::kArrowFunction); |
scope->SetLanguageMode(shared_info->language_mode()); |
scope->set_start_position(shared_info->start_position()); |
ExpressionClassifier formals_classifier; |