Commit 8d1f3cb6 authored by Vitja Makarov's avatar Vitja Makarov

Don't mark function if no entry found

--HG--
extra : transplant_source : %B7i%C3h-%DD%E1d%14B%C3%924%07%2B%83%EF%F3%98s
parent 5515459e
......@@ -626,6 +626,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