Skip to content

Core.println repr wrong for Core.IntrinsicFunction type #51870

@vtjnash

Description

@vtjnash
julia> which(Core.Compiler.is_pure_intrinsic_infer, (Core.IntrinsicFunction,)).sig
Tuple{typeof(Core.Compiler.is_pure_intrinsic_infer), Core.IntrinsicFunction} # good

julia> which(Core.Compiler.is_pure_intrinsic_infer, (Core.IntrinsicFunction,)).sig |> Core.println
Tuple{typeof(Core.Compiler.is_pure_intrinsic_infer), typeof(Core.IntrinsicFunction)} # bad

julia> Core.IntrinsicFunction.name
typename(Core.IntrinsicFunction) # good

julia> Core.IntrinsicFunction.name.name
:IntrinsicFunction # good

julia> Core.IntrinsicFunction.name.mt.name
:IntrinsicFunction # bad

Metadata

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