From 0c81bd6c50b060e51e9c8534c3b1566c3171bc15 Mon Sep 17 00:00:00 2001 From: Manuel Blatt Date: Thu, 19 Oct 2023 15:19:08 +0200 Subject: [PATCH] add return type in UniqueNameProvider --- decompiler/structures/pseudo/complextypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decompiler/structures/pseudo/complextypes.py b/decompiler/structures/pseudo/complextypes.py index 86359340f..764143fa2 100644 --- a/decompiler/structures/pseudo/complextypes.py +++ b/decompiler/structures/pseudo/complextypes.py @@ -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.