Index: src/parsing/pattern-rewriter.cc |
diff --git a/src/parsing/pattern-rewriter.cc b/src/parsing/pattern-rewriter.cc |
index 4d82d1a7db5732de7bea9c2cad2edb829e656971..0faada1741e112462433ab04a57f071aee571447 100644 |
--- a/src/parsing/pattern-rewriter.cc |
+++ b/src/parsing/pattern-rewriter.cc |
@@ -132,8 +132,7 @@ void Parser::PatternRewriter::VisitVariableProxy(VariableProxy* pattern) { |
// entering the function). |
const AstRawString* name = pattern->raw_name(); |
VariableProxy* proxy = factory()->NewVariableProxy( |
- name, NORMAL_VARIABLE, parser_->scanner()->location().beg_pos, |
- parser_->scanner()->location().end_pos); |
+ name, NORMAL_VARIABLE, parser_->scanner()->location().beg_pos); |
Declaration* declaration = factory()->NewVariableDeclaration( |
proxy, descriptor_->scope, descriptor_->declaration_pos); |
Variable* var = parser_->Declare( |