Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
terminate is more immediate
Browse files Browse the repository at this point in the history
  • Loading branch information
marsninja committed Sep 5, 2024
1 parent a69c8a7 commit 607499b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jaclang/compiler/passes/ir_pass.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ def traverse(self, node: ast.AstNode) -> ast.AstNode:
else:
self.prune_signal = False
self.cur_node = node
if self.term_signal:
return node
self.exit_node(node)
return node

Expand Down

0 comments on commit 607499b

Please sign in to comment.