-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
regressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous versiontypes and dispatchTypes, subtyping and method dispatchTypes, subtyping and method dispatch
Description
This bug is succinctly described by the following code:
const NullableVec{T} = Union{AbstractVector{T}, AbstractVector{Union{T,Nothing}}}
struct NullableVecWrapper{T, V<:NullableVec{T}}
v::V
end
abstract type P{A} end
NV = NullableVecWrapper{P, Vector{Union{P,Nothing}}}
NV <: NullableVecWrapper
> falseMy julia version is 1.8.3, and I installed it through nix: https://github.com/olynch/scientific-fhs. Julia 1.7 and 1.6 do not have this bug.
Metadata
Metadata
Assignees
Labels
regressionRegression in behavior compared to a previous versionRegression in behavior compared to a previous versiontypes and dispatchTypes, subtyping and method dispatchTypes, subtyping and method dispatch