Skip to content

Commit

Permalink
add return type in UniqueNameProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
blattm committed Oct 19, 2023
1 parent e217ac2 commit 0c81bd6
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 0c81bd6

Please sign in to comment.