You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes#17132
Fix is trivial, we don't need that extra `get_proper_type()`.
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Crash Report
Under some specific conditions,
mypy
crashes when creating type aliases for unions with self-referential variants.Specifically, both of these work fine:
but this crashes:
with
To Reproduce
https://mypy-play.net/?mypy=1.9.0&python=3.12&flags=show-traceback&gist=5f48179cab35cd594aca11d797bf530d
The text was updated successfully, but these errors were encountered: