Index: src/ast/scopes.cc |
diff --git a/src/ast/scopes.cc b/src/ast/scopes.cc |
index 4ce1c0d85f7970f0b1cd5807d0519aac825d88c3..3da598f87b8e9e8a26cb032729a53e37ee90e982 100644 |
--- a/src/ast/scopes.cc |
+++ b/src/ast/scopes.cc |
@@ -795,6 +795,7 @@ void Scope::PropagateUsageFlagsToScope(Scope* other) { |
DCHECK(!already_resolved_); |
DCHECK(!other->already_resolved_); |
if (calls_eval()) other->RecordEvalCall(); |
+ if (inner_scope_calls_eval_) other->inner_scope_calls_eval_ = true; |
} |
Variable* Scope::LookupInScopeInfo(const AstRawString* name) { |