Index: src/parsing/pattern-rewriter.cc |
diff --git a/src/parsing/pattern-rewriter.cc b/src/parsing/pattern-rewriter.cc |
index a7f2ed1e2b6959836958a511a1d7b021600c2bc1..f947ad320e2defcf0bdfffe64d298b1dcdf2a7d7 100644 |
--- a/src/parsing/pattern-rewriter.cc |
+++ b/src/parsing/pattern-rewriter.cc |
@@ -219,6 +219,7 @@ void Parser::PatternRewriter::VisitVariableProxy(VariableProxy* pattern) { |
// But for var declarations we need to do a new lookup. |
if (descriptor_->mode == VAR) { |
proxy = var_init_scope->NewUnresolved(factory(), name); |
+ // TODO(neis): Set is_assigned on proxy. |
} else { |
DCHECK_NOT_NULL(proxy); |
DCHECK_NOT_NULL(proxy->var()); |