Commit 62796e09 authored by Robert Bradshaw's avatar Robert Bradshaw

Don't flatten list comprehension nodes

parent 32f524a3
...@@ -2244,6 +2244,7 @@ class ListNode(SequenceNode): ...@@ -2244,6 +2244,7 @@ class ListNode(SequenceNode):
class ListComprehensionNode(SequenceNode): class ListComprehensionNode(SequenceNode):
subexprs = [] subexprs = []
is_sequence_constructor = 0 # not unpackable
def analyse_types(self, env): def analyse_types(self, env):
self.type = py_object_type self.type = py_object_type
......
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