Skip to content

Commit 19ea1df

Browse files
Update for_helpers.py
1 parent b663a4d commit 19ea1df

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
@@ -171,7 +171,7 @@ def for_loop_helper_with_index(
171171
body_insts: a function that generates the body of the loop.
172172
It needs a index as parameter.
173173
"""
174-
assert is_sequence_rprimitive(expr_reg.type)
174+
assert is_sequence_rprimitive(expr_reg.type), expr_reg
175175
target_type = builder.get_sequence_type(expr)
176176

177177
body_block = BasicBlock()

0 commit comments

Comments
 (0)