def visit_if_stmt(self, s: IfStmt) -> None: infer_reachability_of_if_statement(s, pyversion=self.pyversion, platform=self.platform) for node in s.body: node.accept(self) if s.else_body: s.else_body.accept(self)
def visit_if_stmt(self, s: IfStmt) -> None: infer_reachability_of_if_statement(s, self.sem.options) for node in s.body: node.accept(self) if s.else_body: s.else_body.accept(self)