Type aliases are expanded out in tooltips #265
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Version: Pylance language server 2020.8.2-dev.19.gfaa9ac5b (pyright fbe2eb4d) starting
Not sure if this is a bug or not, but it makes the user experience less than optimal
When the type alias is in the file scope the behavior is fine - as seen below:

However in the case when the alias is in the global scope of an imported module as in Pygame Colors module


When trying to call a function that uses the alias in the sig, the alias is expanded out

The text was updated successfully, but these errors were encountered: