We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I recently had trouble understanding an error output along the lines of:
Type argument 1 of "<function name>" has incompatible value "<a type that doesn't fit the TypeVar>"
Would it be possible to output something more along the lines of:
TypeVar "T" cannot be a "<wrong type>" (from first argument to "<function name>")
The text was updated successfully, but these errors were encountered:
I think that's a great suggestion! TypeVar "<typevar name>" cannot be a "<wrong type>" (from argument 1 to "<function name>")
TypeVar "<typevar name>" cannot be a "<wrong type>" (from argument 1 to "<function name>")
@KitB are you interested in taking a stab at it yourself? If not, I can work on it.
Sorry, something went wrong.
I don't really have the time, go ahead.
Improve error message for incompatible TypeVar value
179be5e
Fixes python#3341
No branches or pull requests
I recently had trouble understanding an error output along the lines of:
Would it be possible to output something more along the lines of:
The text was updated successfully, but these errors were encountered: