Generator
return type and send type are treated as None
under allow-any-generics
#17286
Labels
bug
mypy got something wrong
Bug Report
On the newest master,
Generator
is not the same asGenerator[Any, Any, Any]
withallow-any-generics
enabled. This doesn't happen on 1.10.0.To Reproduce
https://gist.github.com/mypy-play/16ab6e35d0fa38ee42cd9d40b3a7474d
Expected Behavior
No errors.
Actual Behavior
The text was updated successfully, but these errors were encountered: