Open JukkaL opened 6 years ago
IIUC having the decorator is important to trigger this. So this seems to be closely related to https://github.com/python/mypy/issues/1317, in particular to the example in https://github.com/python/mypy/issues/1317#issuecomment-341959279.
Mypy rejects this fragment, apparently because the type variables
AnyStr
andX
interfere with each other:Here's the output I get:
The expected behavior is clean output.
We've already fixed a bunch of similar issues.