(self, o: FuncDef)
| 173 | |
| 174 | @contextmanager |
| 175 | def enter_scope(self, o: FuncDef) -> Iterator[None]: |
| 176 | self.checked_scopes.append(o.type is not None and self.checked_scopes[-1]) |
| 177 | yield None |
| 178 | self.checked_scopes.pop() |
| 179 | |
| 180 | def is_checked_scope(self) -> bool: |
| 181 | return self.checked_scopes[-1] |
no test coverage detected