Skip to content

Regression in typealias with Union{} #16922

@nalimilan

Description

@nalimilan

This used to work on 0.4.5:

julia> typealias VecOrNullableVec{T} Union{AbstractVector{T}, AbstractVector{Nullable{T}}}
AbstractArray{T,1}

julia> VecOrNullableVec{Int}
AbstractArray{Int64,1}

julia> AbstractArray{Nullable{Int},1} <: VecOrNullableVec{Int}
false

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionRegression in behavior compared to a previous versiontypes and dispatchTypes, subtyping and method dispatch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions