Skip to content

Commit

Permalink
fix from bad diff
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Oct 1, 2024
1 parent 1e64727 commit d50dc5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vyper/codegen/expr.py
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ def parse_Call(self):
(arg0,) = self.expr.args
arg_ir = Expr(arg0, self.context).ir_node

assert isinstance(arg_ir.typ, (AddressT, InterfaceT)), arg_ir.typ
assert isinstance(arg_ir.typ, AddressT), arg_ir.typ
arg_ir.typ = self.expr._metadata["type"]

return arg_ir
Expand Down

0 comments on commit d50dc5f

Please sign in to comment.