Skip to content

Is it appropriate to report "code is unreachable" when not TYPE_CHECKING? #2330

Answered by erictraut
dnaaun asked this question in Q&A
Discussion options

You must be logged in to vote

The code in this area is not analyzed because it is unreachable from the perspective of the code flow engine. I'd argue that it's important for the user to understand that the code in this section is not being analyzed. We've talked about perhaps changing the wording from "Code is unreachable" to something else, but I haven't come up with any phrasing that isn't verbose or more confusing. Let me know if you have suggestions.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dnaaun
Comment options

Answer selected by dnaaun
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants