Commit 1de01311 authored by Stefan Behnel's avatar Stefan Behnel

whitespace

parent e0fc3131
...@@ -255,6 +255,7 @@ class SimpleAssignmentTypeInferer(object): ...@@ -255,6 +255,7 @@ class SimpleAssignmentTypeInferer(object):
entries_by_dependancy[dep].add(entry) entries_by_dependancy[dep].add(entry)
else: else:
ready_to_infer.append(entry) ready_to_infer.append(entry)
def resolve_dependancy(dep): def resolve_dependancy(dep):
if dep in entries_by_dependancy: if dep in entries_by_dependancy:
for entry in entries_by_dependancy[dep]: for entry in entries_by_dependancy[dep]:
...@@ -263,6 +264,7 @@ class SimpleAssignmentTypeInferer(object): ...@@ -263,6 +264,7 @@ class SimpleAssignmentTypeInferer(object):
if not entry_deps and entry != dep: if not entry_deps and entry != dep:
del dependancies_by_entry[entry] del dependancies_by_entry[entry]
ready_to_infer.append(entry) ready_to_infer.append(entry)
# Try to infer things in order... # Try to infer things in order...
while True: while True:
while ready_to_infer: while ready_to_infer:
......
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