diff --git a/src/parsing/pattern-rewriter.cc b/src/parsing/pattern-rewriter.cc index f714f6666c..edd283e9d6 100644 --- a/src/parsing/pattern-rewriter.cc +++ b/src/parsing/pattern-rewriter.cc @@ -309,7 +309,7 @@ void Parser::PatternRewriter::VisitRewritableExpression( block_->statements()->Add(factory()->NewExpressionStatement(expr, pos), zone()); } - return set_context(old_context); + set_context(old_context); } // When an extra declaration scope needs to be inserted to account for