Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
angelcaru committed May 1, 2024
1 parent de7b02a commit c24d4ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/interpreter.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def visit_ForInNode(self, node: ForInNode, context: Context) -> RTResult[Value]:
element = res.register(it_res)
if res.should_return() and not res.loop_should_continue and not res.loop_should_break:
return res

if res.loop_should_break:
break

Expand Down

0 comments on commit c24d4ec

Please sign in to comment.