(self)
| 279 | return found.type |
| 280 | |
| 281 | def is_unreachable(self) -> bool: |
| 282 | # TODO: Copy the value of unreachable into new frames to avoid |
| 283 | # this traversal on every statement? |
| 284 | return any(f.unreachable for f in self.frames) |
| 285 | |
| 286 | def is_unreachable_warning_suppressed(self) -> bool: |
| 287 | return any(f.suppress_unreachable_warnings for f in self.frames) |
no test coverage detected