Commit ae00ae99 authored by Vitja Makarov's avatar Vitja Makarov

Don't mark function if no entry found

parent 2439267d
......@@ -620,6 +620,7 @@ class CreateControlFlowGraph(CythonTransform):
entry = node.entry
if entry.is_anonymous:
entry = self.env.lookup(node.name)
if entry:
self.flow.mark_assignment(node, object_expr, entry)
return self.visit_FuncDefNode(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