Skip to content

isdispatchtuple inconsistency for typeof(Union{}) #45347

Closed
@Keno

Description

@Keno
julia> A = Tuple{typeof(identity), Type{Union{}}}
Tuple{typeof(identity), Type{Union{}}}

julia> B = Tuple{typeof(identity), typeof(Union{})}
Tuple{typeof(identity), Core.TypeofBottom}

julia> A == B
true

julia> Base.isdispatchtuple(A)
true

julia> Base.isdispatchtuple(B)
false

This was the root cause of one of the PkgEval failures in #45272.

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