mypy
242ad2ac - Fix crash on TypeGuard in __call__ (#16516)

Commit
2 years ago
Fix crash on TypeGuard in __call__ (#16516) Fixes https://github.com/python/mypy/issues/16187 Note there may be some more similar crashes, I don't handle them all properly, for now I leave a TODO and replace the `assert` with `if`, so at least we should not crash on an unhandled case.
Author
Parents
Loading