Commit c94c6153 authored by Kurt Smith's avatar Kurt Smith Committed by Mark Florisson

fix in MemoryView.use_cython_view_util_code

parent e59fb891
......@@ -487,7 +487,7 @@ def _resolve_NameNode(env, node):
resolved_name = env.lookup(node.name).name
except AttributeError:
raise CompileError(node.pos, INVALID_ERR)
viewscope = env.context.cython_scope.viewscope
viewscope = env.global_scope().context.cython_scope.viewscope
return viewscope.lookup(resolved_name)
def _resolve_AttributeNode(env, node):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment