reportUnknownArgumentType when argument type is defined in Callable via Protocol #754
Labels
enhancement
New feature or request
fixed in next version (main)
A fix has been implemented and will appear in an upcoming version
Environment data
Pylance 2020.12.2
Python 3.8.5
Expected behaviour
No warnings
Actual behaviour
False-positive warning:
![image](https://user-images.githubusercontent.com/623756/102651024-d7f77100-417c-11eb-8dc5-e8f4286d5a3e.png)
Code Snippet / Additional information
https://mypy-play.net/?mypy=latest&python=3.7&flags=strict&gist=202f4a912fb9b7125722676630894b6d
The text was updated successfully, but these errors were encountered: