Skip to content

Commit 23536da

Browse files
committed
Merge branch 'star2arg-fastpath' of https://github.com/BobTheBuidler/mypy into star2arg-fastpath
2 parents 2be0326 + aed4a8b commit 23536da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/ll_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ def _construct_varargs(
834834
star2_fastpath_op = dict_copy_op
835835
else:
836836
star2_fastpath_op = dict_copy
837-
return self.new_tuple([], line), self.primitive_op(star2_fastpath_op, [args[0][0]], line)
837+
return self.new_tuple([], line), self.primitive_op(star2_fastpath_op, [value], line)
838838

839839
star2_result = self._create_dict(star2_keys, star2_values, line)
840840

0 commit comments

Comments
 (0)