Skip to content

Don't overload show(io, ::Type) #31

@ararslan

Description

@ararslan

This is type treason, as Jeff puts it, and makes Bad Things Happen on 0.7. See JuliaLang/julia#24195. If we simply do away with those methods, the printing is a little less concise, but still reasonable (IMO):

julia> HourBeginning
AnchoredInterval{1 hour,T} where T<:Dates.TimeType

This is in line with how Base prints aliases, e.g.

julia> AbstractVecOrMat
Union{AbstractArray{T,1}, AbstractArray{T,2}} where T

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions