Skip to content

Commit

Permalink
add returntype in UniqueNameProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
blattm committed Oct 19, 2023
1 parent e402d24 commit e0facea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion decompiler/structures/pseudo/complextypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class UniqueNameProvider:
def __init__(self):
self._name_to_count: Dict[str, int] = {}

def get_unique_name(self, name: str):
def get_unique_name(self, name: str) -> str:
""" This method returns the input name if it was unique so far.
Otherwise it returns the name with an added incrementing suffix.
In any case, the name occurence of the name is counted.
Expand Down

0 comments on commit e0facea

Please sign in to comment.