Skip to content

Commit

Permalink
Fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
rihi committed Oct 18, 2023
1 parent 2c9d968 commit dca3964
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions decompiler/backend/cexpressiongenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit dca3964

Please sign in to comment.