Index: src/ast/scopes.h |
diff --git a/src/ast/scopes.h b/src/ast/scopes.h |
index 37c296ce0733ef229b97e9d85b12fbbc1af9dfde..865198e58e58f5bdf36f4aa7ad51ded384342afd 100644 |
--- a/src/ast/scopes.h |
+++ b/src/ast/scopes.h |
@@ -520,8 +520,10 @@ |
// Finds free variables of this scope. This mutates the unresolved variables |
// list along the way, so full resolution cannot be done afterwards. |
+ // If a ParseInfo* is passed, non-free variables will be resolved. |
VariableProxy* FetchFreeVariables(DeclarationScope* max_outer_scope, |
bool try_to_resolve = true, |
+ ParseInfo* info = nullptr, |
VariableProxy* stack = nullptr); |
// Predicates. |