Index: src/ast/ast-literal-reindexer.cc |
diff --git a/src/ast/ast-literal-reindexer.cc b/src/ast/ast-literal-reindexer.cc |
index fce33e70b8f7caf9aec7a25aaf3fe1ebfa00344e..6db9a61b9b48e235b3d06020b39aae448b93dde9 100644 |
--- a/src/ast/ast-literal-reindexer.cc |
+++ b/src/ast/ast-literal-reindexer.cc |
@@ -44,7 +44,8 @@ void AstLiteralReindexer::VisitNativeFunctionLiteral( |
void AstLiteralReindexer::VisitDoExpression(DoExpression* node) { |
- // TODO(caitp): literals in do expressions need re-indexing too. |
+ Visit(node->block()); |
caitp (gmail)
2016/01/15 17:48:00
The thing that worries me is, which function the r
nickie
2016/01/15 20:18:29
Initializers in arrow function parameters is exact
caitp (gmail)
2016/01/15 20:25:30
In a RewritableExpression, any ObjectLiteral or Ar
|
+ Visit(node->result()); |
caitp (gmail)
2016/01/15 17:48:00
`result` is always a VariableProxy, so it probably
nickie
2016/01/15 20:18:29
I was of the impression that the result can be a t
|
} |