Index: src/parsing/pattern-rewriter.cc |
diff --git a/src/parsing/pattern-rewriter.cc b/src/parsing/pattern-rewriter.cc |
index ead3081f9e90178f99e85099f0b42f953449a87a..a1b060031bfde40ce06c575a47bafddd515d9bb0 100644 |
--- a/src/parsing/pattern-rewriter.cc |
+++ b/src/parsing/pattern-rewriter.cc |
@@ -117,7 +117,7 @@ void Parser::PatternRewriter::VisitVariableProxy(VariableProxy* pattern) { |
Assignment* assignment = factory()->NewAssignment( |
Token::ASSIGN, pattern, value, pattern->position()); |
block_->statements()->Add( |
- factory()->NewExpressionStatement(assignment, RelocInfo::kNoPosition), |
+ factory()->NewExpressionStatement(assignment, pattern->position()), |
zone()); |
return; |
} |