Inconsistent type evaluation with Self
#4844
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
Describe the bug
It seems sometimes
Self
gets narrowed too much, but I'm not sure about the condition.To Reproduce
See "Screenshots or Code".
Expected behavior
Nothing gets reported.
Screenshots or Code
VS Code extension or command-line
Pylance v2023.3.31 Pre-Release
Additional context
VSCode config:
The text was updated successfully, but these errors were encountered: