Type inference for protocol is confused with keyword-only, reordered arguments #8317
Labels
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
priority-1-normal
topic-protocols
I'm reporting a bug.
Only the second error is correct.
Do you see the same issue after installing mypy from Git master?
This was tested on the "real code" with mypy-0.760 and mypy-0.720. The minimal example was run on mypy-play.net, mypy latest, as of 23/01/2020.
No special settings were done on mypy-play.net
The text was updated successfully, but these errors were encountered: