Skip to content

Commit

Permalink
added type annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
t.avagyan committed Sep 11, 2023
1 parent 2687867 commit a15e1fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slither/solc_parsing/declarations/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -1103,7 +1103,7 @@ def _parse_unchecked_block(self, block: Dict, node: NodeSolc, scope):
node = self._parse_statement(statement, node, new_scope)
return node

def _update_reachability(self, node: Node):
def _update_reachability(self, node: Node) -> None:
if node.is_reachable:
return
node.set_is_reachable(True)
Expand Down

0 comments on commit a15e1fc

Please sign in to comment.