| Index: src/parsing/pattern-rewriter.cc
|
| diff --git a/src/parsing/pattern-rewriter.cc b/src/parsing/pattern-rewriter.cc
|
| index 310c277fed40fbfa4d16b219cb51fe56ceacc75b..3cf0992c1014aa9e6be1ab89b8c1c7db7d26aa89 100644
|
| --- a/src/parsing/pattern-rewriter.cc
|
| +++ b/src/parsing/pattern-rewriter.cc
|
| @@ -139,13 +139,6 @@ void Parser::PatternRewriter::VisitVariableProxy(VariableProxy* pattern) {
|
| // which the variable or constant is declared. Only function variables have
|
| // an initial value in the declaration (because they are initialized upon
|
| // entering the function).
|
| - //
|
| - // If we have a legacy const declaration, in an inner scope, the proxy
|
| - // is always bound to the declared variable (independent of possibly
|
| - // surrounding 'with' statements).
|
| - // For let/const declarations in harmony mode, we can also immediately
|
| - // pre-resolve the proxy because it resides in the same scope as the
|
| - // declaration.
|
| const AstRawString* name = pattern->raw_name();
|
| VariableProxy* proxy = parser_->NewUnresolved(name, descriptor_->mode);
|
| Declaration* declaration = factory()->NewVariableDeclaration(
|
|
|