Commit e006b5f3 authored by Stefan Behnel's avatar Stefan Behnel

remove apparently redundant loop in type inference

parent b4956d52
......@@ -429,10 +429,8 @@ class SimpleAssignmentTypeInferer(object):
# try to handle circular references
partials = set()
for assmt in assignments:
partial_types = []
if assmt in partial_assmts:
continue
for node in assmt_to_names[assmt]:
if partial_infer(assmt):
partials.add(assmt)
assmts_resolved.add(assmt)
......
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