Skip to content

Commit

Permalink
fix method id typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Nov 15, 2023
1 parent 28b02e7 commit 7b46c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/builtins/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -727,7 +727,7 @@ def evaluate(self, node):

value = node.args[0]._metadata.get("folded_value")
if not isinstance(value, vy_ast.Str):
raise InvalidType("method id must be given as a literal string", args[0])
raise InvalidType("method id must be given as a literal string", node.args[0])
if " " in value.value:
raise InvalidLiteral("Invalid function signature - no spaces allowed.")

Expand Down

0 comments on commit 7b46c4e

Please sign in to comment.