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 32da5b9 commit c9545a1Copy full SHA for c9545a1
mypyc/irbuild/for_helpers.py
@@ -1224,6 +1224,6 @@ def get_expr_length_value(
1224
length = get_expr_length(expr)
1225
if length is None:
1226
# We cannot compute the length at compile time, so we will fetch it.
1227
- return builder.builtin_len(expr_reg, line, use_pyssize_t=use_pyssize_t)
+ return builder.builder.builtin_len(expr_reg, line, use_pyssize_t=use_pyssize_t)
1228
# The expression result is known at compile time, so we can use a constant.
1229
return Integer(length, c_pyssize_t_rprimitive if use_pyssize_t else short_int_rprimitive)
0 commit comments