List comprehensions now at least don't cause errors anymore.
This commit is contained in:
1 parent
f672b367da
commit
af7c13d2e6
7 files changed
+65
-53
No files matched your search
@@ -365,7 +365,7 @@ class Evaluator(object):
|
||||
pass
|
||||
|
||||
if comp_for.type == 'comp_for':
|
||||
return set([iterable.Comprehension.from_atom(self, atom)])
|
||||
return set([iterable.Comprehension.from_atom(self, context, atom)])
|
||||
return set([iterable.ArrayLiteralContext(self, context, atom)])
|
||||
|
||||
def eval_trailer(self, context, types, trailer):
|
||||
|
||||
Reference in new issue
Block a user