test.pyi:4: error: Overloaded function signatures 1 and 2 overlap with incompatible return types
The problem here is that each overload can be called without arguments (but I didn't see this until an eagle-eyed BDFL pointed it out :grin:).
It would be good if the error message could include a little more information about the ways in which the signatures overlap, to make fixing the error an easier experience.
Again when wrapping my head around #3805, I was thrown off by the output of mypy against:
which gives
The problem here is that each overload can be called without arguments (but I didn't see this until an eagle-eyed BDFL pointed it out :grin:).
It would be good if the error message could include a little more information about the ways in which the signatures overlap, to make fixing the error an easier experience.