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

Method visit_goto

mypyc/analysis/ircheck.py:277–278  ·  view source on GitHub ↗
(self, op: Goto)

Source from the content-addressed store, hash-verified

275 self.fail(op, f"RPrimitive expected, got {type(v.type).__name__}")
276
277 def visit_goto(self, op: Goto) -> None:
278 self.check_control_op_targets(op)
279
280 def visit_branch(self, op: Branch) -> None:
281 self.check_control_op_targets(op)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected