Skip to content

Commit

Permalink
fix call name
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Jan 3, 2024
1 parent fec23e7 commit 25bd14a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vyper/ast/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,10 @@ def is_terminus(self):
# cursed import cycle!
from vyper.builtins.functions import get_builtin_functions

func_name = self.func.id
func_name = self.func.get("id")
if not func_name:
return False

builtin_t = get_builtin_functions().get(func_name)
return getattr(builtin_t, "_is_terminus", False)

Expand Down

0 comments on commit 25bd14a

Please sign in to comment.