Skip to content

Commit

Permalink
Fix issue #1849: type_str not returning str
Browse files Browse the repository at this point in the history
  • Loading branch information
DarrenChangJR committed May 15, 2023
1 parent ac2142f commit 9e4324b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slither/slithir/operations/unary.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def type(self) -> UnaryOperationType:

@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} "

0 comments on commit 9e4324b

Please sign in to comment.