Open iamed2 opened 6 years ago
We can't restrict the type accepted to Tuple{Vararg{Type{<:Axis}}} because typeof((Axis{:time}, Axis{:label})) == Tuple{UnionAll, UnionAll} but we might be able to assume they are axis types when they're not Base.Dims.
Tuple{Vararg{Type{<:Axis}}}
typeof((Axis{:time}, Axis{:label})) == Tuple{UnionAll, UnionAll}
Base.Dims
This would be especially useful after https://github.com/JuliaLang/julia/pull/23500
We can't restrict the type accepted to
Tuple{Vararg{Type{<:Axis}}}
becausetypeof((Axis{:time}, Axis{:label})) == Tuple{UnionAll, UnionAll}
but we might be able to assume they are axis types when they're notBase.Dims
.This would be especially useful after https://github.com/JuliaLang/julia/pull/23500