MCPcopy Create free account
hub / github.com/python/mypy / visit_branch

Method visit_branch

mypyc/analysis/ircheck.py:280–281  ·  view source on GitHub ↗
(self, op: Branch)

Source from the content-addressed store, hash-verified

278 self.check_control_op_targets(op)
279
280 def visit_branch(self, op: Branch) -> None:
281 self.check_control_op_targets(op)
282
283 def visit_return(self, op: Return) -> None:
284 self.check_type_coercion(op, op.value.type, self.parent_fn.decl.sig.ret_type)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected