Skip to content

Commit 0b06aef

Browse files
committed
fix: assertion error
1 parent 5cd545d commit 0b06aef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

mypyc/irbuild/ll_builder.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,8 +1148,7 @@ def native_args_to_positional(
11481148
assert star_arg
11491149
output_arg = star_arg
11501150
elif arg.kind == ARG_STAR2:
1151-
assert star2_arg, (star_arg_entries, sig_args)
1152-
output_arg = star2_arg
1151+
output_arg = star2_arg or self._create_dict([], [], line)
11531152
elif not lst:
11541153
if is_fixed_width_rtype(arg.type):
11551154
output_arg = Integer(0, arg.type)

0 commit comments

Comments
 (0)