Fix issue #1849: type_str not returning str

pull/1914/head
DarrenChangJR 1 year ago
parent ac2142f3cd
commit 9e4324bab1
  1. 2
      slither/slithir/operations/unary.py

@ -58,7 +58,7 @@ class Unary(OperationWithLValue):
@property
def type_str(self):
return self._type.value
return str(self._type)
def __str__(self):
return f"{self.lvalue} = {self.type_str} {self.rvalue} "

Loading…
Cancel
Save