Return Function.name to handle special function types for which Function._name == None (#1170) (#1171)

send-arbitrary-erc20
Evan Sultanik 3 years ago committed by GitHub
parent e3b75c003e
commit 75a9766c35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      slither/core/declarations/function.py

@ -1724,6 +1724,6 @@ class Function(SourceMapping, metaclass=ABCMeta): # pylint: disable=too-many-pu
################################################################################### ###################################################################################
def __str__(self): def __str__(self):
return self._name return self.name
# endregion # endregion

Loading…
Cancel
Save