fix missing call to set_offset

pull/2099/head
alpharush 1 year ago
parent eadcd462c3
commit d3686764b8
  1. 2
      slither/vyper_parsing/expressions/expression_parsing.py

@ -136,6 +136,7 @@ def parse_expression(expression: Dict, caller_context) -> "Expression":
member_type,
),
)
parsed_expr.set_offset(expression.src, caller_context.compilation_unit)
return parsed_expr
elif called.value.name == "max_value()":
@ -151,6 +152,7 @@ def parse_expression(expression: Dict, caller_context) -> "Expression":
member_type,
),
)
parsed_expr.set_offset(expression.src, caller_context.compilation_unit)
return parsed_expr
elif called.value.name == "raw_call()":

Loading…
Cancel
Save