Skip to content

Suggested improvement for wording of an error #3341

Closed
@KitB

Description

@KitB

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>")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions