Skip to content

Commit

Permalink
Merge pull request #1914 from DarrenChangJR/dev
Browse files Browse the repository at this point in the history
Fix issue #1849: type_str not returning str
  • Loading branch information
montyly authored May 15, 2023
2 parents ac2142f + 9e4324b commit aa61cef
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 aa61cef

Please sign in to comment.