Unexpected type warning appeared after recent VS Code update #1168
Labels
bug
Something isn't working
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
pyenv
)Expected behaviour
No type warning.
Actual behaviour
Logs
There didn't seem to be anything of interest in the trace output
Code Snippet / Additional information
After a recent VS Code update, a function (like
test1
) started generating a type warning that wasn't appearing previously. A slight change in types (liketest2
) makes the warning disappear.(I'm fairly new to Python typing, so I apologize if I'm missing something obvious here.)
The text was updated successfully, but these errors were encountered: