From e1ff6e4edcccf2f25ccb068c2fa96b217f81ee02 Mon Sep 17 00:00:00 2001 From: Rihi <19492038+rihi@users.noreply.github.com> Date: Thu, 21 Sep 2023 10:33:28 +0200 Subject: [PATCH] Remove duplicated 'FunctionTypeDef' definition (#334) --- decompiler/structures/pseudo/typing.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/decompiler/structures/pseudo/typing.py b/decompiler/structures/pseudo/typing.py index 15eadfc7d..8f367da62 100644 --- a/decompiler/structures/pseudo/typing.py +++ b/decompiler/structures/pseudo/typing.py @@ -217,16 +217,6 @@ def __str__(self) -> str: return f"{self.return_type}({', '.join(str(x) for x in self.parameters)})" -@dataclass(frozen=True, order=True) -class FunctionTypeDef(Type): - return_type: Type - parameters: Tuple[Parameter, ...] - - def __str__(self) -> str: - """Return an anonymous string representation such as void*(int, int, char*).""" - return f"{self.return_type}({', '.join(str(x) for x in self.parameters)})" - - class TypeParser: """A type parser in charge of creating types."""