Confusing error message for property with @overloaded function #8737
Labels
diagnostics
priority-1-normal
topic-descriptors
Properties, class vs. instance attributes
topic-error-reporting
How we report errors
topic-usability
The following does not seem to work:
Is this a bug or expected?
Also,
fun(0)
returns a string instead of an int as specified in the stub, but mypy doesn't seem to catch this. Again, bug or expected?The text was updated successfully, but these errors were encountered: