Skip to content

Commit 293f001

Browse files
Update for_helpers.py
1 parent c398aa7 commit 293f001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypyc/irbuild/for_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ def get_expr_length_value(
12681268
) -> Value:
12691269
rtype = builder.node_type(expr)
12701270
assert is_sequence_rprimitive(rtype) or isinstance(rtype, RTuple), rtype
1271-
length = get_expr_length(expr)
1271+
length = get_expr_length(builder, expr)
12721272
if length is None:
12731273
# We cannot compute the length at compile time, so we will fetch it.
12741274
return builder.builder.builtin_len(expr_reg, line, use_pyssize_t=use_pyssize_t)

0 commit comments

Comments
 (0)