We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f260ada commit f5f96dfCopy full SHA for f5f96df
mypyc/irbuild/ll_builder.py
@@ -933,8 +933,7 @@ def _construct_varargs(
933
# tuple. Otherwise create the tuple from the list.
934
if star_result is None:
935
star_result = self.new_tuple(star_values, line)
936
- elif not is_tuple_rprimitive(star_result.type):
937
- # if star_result is a tuple we took the fast path
+ else:
938
star_result = self.primitive_op(list_tuple_op, [star_result], line)
939
if has_star2 and star2_result is None:
940
star2_result = self._create_dict(star2_keys, star2_values, line)
0 commit comments