diff --git a/decompiler/backend/cexpressiongenerator.py b/decompiler/backend/cexpressiongenerator.py index bfefdbf56..45f754fc3 100644 --- a/decompiler/backend/cexpressiongenerator.py +++ b/decompiler/backend/cexpressiongenerator.py @@ -7,7 +7,7 @@ from decompiler.structures.pseudo import instructions as instructions from decompiler.structures.pseudo import operations as operations from decompiler.structures.pseudo.operations import MemberAccess -from decompiler.structures.visitors.interfaces import DataflowObjectVisitorInterface, T +from decompiler.structures.visitors.interfaces import DataflowObjectVisitorInterface class CExpressionGenerator(DataflowObjectVisitorInterface): @@ -268,7 +268,7 @@ def visit_assignment(self, instr: instructions.Assignment) -> str: return f"{self.visit(op.operand)} = {self.visit(instr.value)}" return f"{self.visit(instr.destination)} = {self.visit(instr.value)}" - def visit_relation(self, instr: instructions.Relation) -> T: + def visit_relation(self, instr: instructions.Relation) -> str: raise NotImplementedError() def visit_generic_branch(self, instr: instructions.GenericBranch) -> str: