| 4089 | |
| 4090 | |
| 4091 | class HasRecursiveType(BoolTypeQuery): |
| 4092 | def __init__(self) -> None: |
| 4093 | super().__init__(ANY_STRATEGY) |
| 4094 | |
| 4095 | def visit_type_alias_type(self, t: TypeAliasType) -> bool: |
| 4096 | return t.is_recursive or self.query_types(t.args) |
| 4097 | |
| 4098 | |
| 4099 | # Use singleton since this is hot (note: call reset() before using) |
no outgoing calls
no test coverage detected
searching dependent graphs…