Skip to content

Pretty printing of parametric types with method ambiguities can be quite vapid #53123

Open

Description

Related to but distinct from #50246.

While working on code with a custom array type, I reached a method ambiguity, but the possible fix wasn't particularly helpful:

Possible fix, define
  hcat(::Union{…}, ::Union{…}, ::Vararg{…})

I suspect it would be worthwhile to special case pretty printing in the fix section of method ambiguities so that the types are fully expanded.

cc @ararslan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    display and printingAesthetics and correctness of printed representations of objects.error messagesBetter, more actionable error messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions