Skip to content

Use short <: printing when showing signatures #27676

Closed

Description

julia> f(x::Type{<:Any}) = 1
f (generic function with 1 method)

julia> first(methods(f))
f(x::Type{#s1} where #s1) in Main at REPL[4]:1

It would be nice to print the signature as

f(x::Type{<:Any}) in Main at REPL[4]:1
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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions