diff options
-rw-r--r-- | src/py_scope.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/py_scope.cc b/src/py_scope.cc index 897e2a84..6054e6a2 100644 --- a/src/py_scope.cc +++ b/src/py_scope.cc @@ -50,7 +50,7 @@ namespace { expr_t py_scope_getattr(scope_t& scope, const string& name) { - return scope.lookup(name); + return expr_t(scope.lookup(name), &scope); } struct scope_wrapper : public scope_t |