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
For assert_never specifically, you can just define it in your own code directly with the same signature as in typing-extensions, since there's no magic around it.
Bug Report
assert_never()
does not seem to work correctly on Python 3.10 with the latestmypy
andtyping-extensions
.To Reproduce
But get an unexpected error:
The definition I see within
typing-extensions
has a conditional, but is none-the-less there:Expected Behavior
No error and for type checking to be successful.
Your Environment
The text was updated successfully, but these errors were encountered: