Skip to content

Commit

Permalink
uncatch vy exc in prefold
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Dec 24, 2023
1 parent 7898efe commit 3b6a566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/semantics/analysis/pre_typecheck.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ def prefold(node: vy_ast.VyperNode, constants: dict[str, vy_ast.VyperNode]):
try:
# call `get_folded_value`` for its side effects
node.get_folded_value()
except (UnfoldableNode, VyperException):
except UnfoldableNode:
pass

0 comments on commit 3b6a566

Please sign in to comment.