I am trying to understand why I get an error
ERROR: invalid subtyping in definition of StringIndexVector
where I try to define
struct StringIndexVector <: AbstractVector
svec::Vector{String}
index::Vector{Integer}
end
but the below is fine. I think AbstractVector is an AbstractType so I can define a subtype under it.
struct StringIndexVector
svec::Vector{String}
index::Vector{Integer}
end
I am on Julia 0.6.2