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
Originally posted by adrien-lsh February 7, 2025
Hi there,
I recently started to type hint the functions of my project. And some of them return certain types depending of the value of a parameter.
When overloading these functions to have accurate types, I found out that my lsp only suggests one of the two possibilities.
Discussed in #6928
Originally posted by adrien-lsh February 7, 2025
Hi there,
I recently started to type hint the functions of my project. And some of them return certain types depending of the value of a parameter.
When overloading these functions to have accurate types, I found out that my lsp only suggests one of the two possibilities.
Pylance.issue.mp4
Python 3.12.2
Neovim v0.10.4
Pyright 1.1.393
The text was updated successfully, but these errors were encountered: