MCPcopy Index your code
hub / github.com/python/mypy / fail

Method fail

mypyc/analysis/ircheck.py:247–248  ·  view source on GitHub ↗
(self, source: Op, desc: str)

Source from the content-addressed store, hash-verified

245 self.errors: list[FnError] = []
246
247 def fail(self, source: Op, desc: str) -> None:
248 self.errors.append(FnError(source=source, desc=desc))
249
250 def check_control_op_targets(self, op: ControlOp) -> None:
251 for target in op.targets():

Callers 12

check_type_coercionMethod · 0.95
check_compatibilityMethod · 0.95
expect_floatMethod · 0.95
expect_non_floatMethod · 0.95
expect_primitive_typeMethod · 0.95
visit_load_literalMethod · 0.95
visit_method_callMethod · 0.95
visit_int_opMethod · 0.95
visit_comparison_opMethod · 0.95

Calls 2

FnErrorClass · 0.85
appendMethod · 0.80

Tested by

no test coverage detected