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
Thanks for the bug report. This was due to a regression that crept into the code a few months ago. I've fixed the bug and updated our unit tests to ensure that such a regression won't go uncaught in the future.
This will be fixed in the next release of pylance.
Environment data
Expected behaviour
Expected type error would be flagged by Pylance.
Actual behaviour
Pylance doesn't raise any errors.
Logs
Python Language Server Log
Code Snippet / Additional information
lookup_ints
is annotated to return a tuple of strs, but the code returns a tuple of bools. Pylance doesn't raise any errors.mypy correctly finds the error:
The text was updated successfully, but these errors were encountered: