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
This is because the binder in mypy is optimistic that state will not change under it. I'm sure there's an earlier report of this (though I haven't looked yet).
Gist URL: https://gist.github.com/mypy-play/187d99115a24b12a7a58b437ae6127fb
Playground URL: https://mypy-play.net/?mypy=1.15.0&python=3.12&flags=ignore-missing-imports%2Ccheck-untyped-defs%2Cwarn-unreachable&gist=187d99115a24b12a7a58b437ae6127fb
For some reason, mypy displays the error "Statement is unreachable [unreachable]" for actual code that executes.
The text was updated successfully, but these errors were encountered: