Index: src/parser.cc |
diff --git a/src/parser.cc b/src/parser.cc |
index 23fa9feae6e7038e199c2cf5596e954ef338ed2c..267b8722c53f51d20dee8039862f1b1734f28cb4 100644 |
--- a/src/parser.cc |
+++ b/src/parser.cc |
@@ -2571,7 +2571,7 @@ Statement* Parser::ParseWithStatement(ZoneStringList* labels, bool* ok) { |
stmt = ParseStatement(labels, CHECK_OK); |
with_scope->set_end_position(scanner().location().end_pos); |
} |
- return factory()->NewWithStatement(expr, stmt); |
+ return factory()->NewWithStatement(with_scope, expr, stmt); |
} |