Skip to content

Commit

Permalink
revert circular call in infer_arg_types
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Dec 18, 2023
1 parent 6b58aeb commit 5c6135c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vyper/builtins/_signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ def infer_arg_types(
self, node: vy_ast.Call, return_type: VyperType | None = None
) -> list[VyperType]:
# validate arg types and sanity check the return type
self.get_return_type(node, expected_type=return_type)
# TODO: circular call with some `infer_arg_types`
#self.get_return_type(node, expected_type=return_type)

ret = [expected for (_, expected) in self._inputs]

Expand Down

0 comments on commit 5c6135c

Please sign in to comment.