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 c398aa7 commit 293f001Copy full SHA for 293f001
mypyc/irbuild/for_helpers.py
@@ -1268,7 +1268,7 @@ def get_expr_length_value(
1268
) -> Value:
1269
rtype = builder.node_type(expr)
1270
assert is_sequence_rprimitive(rtype) or isinstance(rtype, RTuple), rtype
1271
- length = get_expr_length(expr)
+ length = get_expr_length(builder, expr)
1272
if length is None:
1273
# We cannot compute the length at compile time, so we will fetch it.
1274
return builder.builder.builtin_len(expr_reg, line, use_pyssize_t=use_pyssize_t)
0 commit comments