Skip to content

Commit

Permalink
Return Function.name to handle special function types for which Funct…
Browse files Browse the repository at this point in the history
…ion._name == None (#1170)
  • Loading branch information
ESultanik committed Apr 15, 2022
1 parent 3af6616 commit ba45dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slither/core/declarations/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -1724,6 +1724,6 @@ def update_read_write_using_ssa(self):
###################################################################################

def __str__(self):
return self._name
return self.name

# endregion

0 comments on commit ba45dcc

Please sign in to comment.