(self, op: ControlOp)
| 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(): |
| 252 | if target not in self.parent_fn.blocks: |
| 253 | self.fail(source=op, desc=f"Invalid control operation target: {target.label}") |
| 254 | |
| 255 | def check_type_coercion(self, op: Op, src: RType, dest: RType) -> None: |
| 256 | if not can_coerce_to(src, dest): |
no test coverage detected