Enable better ways for analysis to analyze loop variables.

This commit is contained in:
Dave Halter
2015-12-11 20:25:49 +01:00
parent 8d3be10270
commit 75ac2b9686
6 changed files with 65 additions and 58 deletions

View File

@@ -452,7 +452,6 @@ def py__getitem__(evaluator, types, index, node):
if isinstance(typ, Array) and typ.type == 'dict':
types.remove(typ)
result |= typ.dict_values()
print('ITER', types, py__iter__types(evaluator, types))
return result | py__iter__types(evaluator, types)
for typ in types: