reportReturnType
false positive when attribute type is exhaustively narrowed
#682
Labels
type checking / linting
issues relating to existing diagnostic rules or proposals for new diagnostic rules
upstream bug
a bug that also exists in pyright but has not been raised upstream
Code sample in basedpyright playground
The text was updated successfully, but these errors were encountered: