Index: src/ast/ast-literal-reindexer.cc |
diff --git a/src/ast/ast-literal-reindexer.cc b/src/ast/ast-literal-reindexer.cc |
index 6db9a61b9b48e235b3d06020b39aae448b93dde9..5af5e412a07b2de64715bd79370fcc2ec1626a9f 100644 |
--- a/src/ast/ast-literal-reindexer.cc |
+++ b/src/ast/ast-literal-reindexer.cc |
@@ -188,6 +188,8 @@ void AstLiteralReindexer::VisitCompareOperation(CompareOperation* node) { |
void AstLiteralReindexer::VisitSpread(Spread* node) { |
+ // This is reachable because ParserBase::ParseArrowFunctionLiteral calls |
+ // ReindexLiterals before calling RewriteDestructuringAssignments. |
Visit(node->expression()); |
} |