Index: src/parsing/parser.cc |
diff --git a/src/parsing/parser.cc b/src/parsing/parser.cc |
index dfda89e4db29152526f07f18a59d37375f59173a..d7d8162205ac5f8edf8e3a0f9bd16dc67cb39b0d 100644 |
--- a/src/parsing/parser.cc |
+++ b/src/parsing/parser.cc |
@@ -2711,7 +2711,6 @@ Statement* Parser::ParseWithStatement(ZoneList<const AstRawString*>* labels, |
Expression* expr = ParseExpression(true, CHECK_OK); |
Expect(Token::RPAREN, CHECK_OK); |
- scope_->DeclarationScope()->RecordWithStatement(); |
Scope* with_scope = NewScope(scope_, WITH_SCOPE); |
Statement* body; |
{ BlockState block_state(&scope_, with_scope); |