(self, op: Op, t: RType, s: RType)
| 259 | ) |
| 260 | |
| 261 | def check_compatibility(self, op: Op, t: RType, s: RType) -> None: |
| 262 | if not can_coerce_to(t, s) or not can_coerce_to(s, t): |
| 263 | self.fail(source=op, desc=f"{t.name} and {s.name} are not compatible") |
| 264 | |
| 265 | def expect_float(self, op: Op, v: Value) -> None: |
| 266 | if not is_float_rprimitive(v.type): |
no test coverage detected