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 adds support for unreachable blocks in `partially-defined` check.
Currently, this only supports blocks that are detected as unreachable
during semantic analysis (so mostly stuff like python version, etc.).
This doesn't support more advanced cases (see #13926 for an example
what's not covered).
Closes#13929
For the partially defined check (
--enable-error-code partially-defined
), mypy should detect unreachable blocks:Assuming we're running python3.6 in the following block:
The text was updated successfully, but these errors were encountered: