Skip to content

Commit

Permalink
fix kwarg handling
Browse files Browse the repository at this point in the history
  • Loading branch information
tserg committed Dec 27, 2023
1 parent dd2522d commit e1e5576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/builtins/_signatures.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def process_arg(arg, expected_arg_type, context):

def process_kwarg(kwarg_node, kwarg_settings, expected_kwarg_type, context):
if kwarg_settings.require_literal:
return kwarg_node.value
return kwarg_node.get_folded_value_throwing().value

return process_arg(kwarg_node, expected_kwarg_type, context)

Expand Down

0 comments on commit e1e5576

Please sign in to comment.