Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regression in typealias with Union{} #16922

Closed
nalimilan opened this issue Jun 14, 2016 · 2 comments
Closed

Regression in typealias with Union{} #16922

nalimilan opened this issue Jun 14, 2016 · 2 comments
Labels
regression Regression in behavior compared to a previous version types and dispatch Types, subtyping and method dispatch

Comments

@nalimilan
Copy link
Member

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
@nalimilan nalimilan added the regression Regression in behavior compared to a previous version label Jun 14, 2016
@tkelman tkelman added the types and dispatch Types, subtyping and method dispatch label Jun 14, 2016
@JeffBezanson
Copy link
Sponsor Member

Caused by 0ffba40

@JeffBezanson
Copy link
Sponsor Member

closed by #18457

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
regression Regression in behavior compared to a previous version types and dispatch Types, subtyping and method dispatch
Projects
None yet
Development

No branches or pull requests

3 participants