Commit 64d2bdee authored by Stefan Behnel's avatar Stefan Behnel

fix TupleNode typing as tuple_type instead of py_object_type

parent eec9f0ff
......@@ -3888,7 +3888,8 @@ class TupleNode(SequenceNode):
self.is_literal = 1
else:
SequenceNode.analyse_types(self, env, skip_children)
self.type = tuple_type
def calculate_result_code(self):
if len(self.args) > 0:
error(self.pos, "Positive length tuples must be constructed.")
......
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