Closed
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
> false
My 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.