Index: src/parsing/parameter-initializer-rewriter.cc |
diff --git a/src/parsing/parameter-initializer-rewriter.cc b/src/parsing/parameter-initializer-rewriter.cc |
index 54b0c39a2f79601b64fe9d5661e6fef97d9b0335..f59b0fb368f9166b744d31d53762430e8df0839f 100644 |
--- a/src/parsing/parameter-initializer-rewriter.cc |
+++ b/src/parsing/parameter-initializer-rewriter.cc |
@@ -42,7 +42,6 @@ void Rewriter::VisitFunctionLiteral(FunctionLiteral* function_literal) { |
void Rewriter::VisitClassLiteral(ClassLiteral* class_literal) { |
- class_literal->scope()->ReplaceOuterScope(param_scope_); |
if (class_literal->extends() != nullptr) { |
Visit(class_literal->extends()); |
} |