diff --git a/src/other/index.jl b/src/other/index.jl index 547a1a3853..72828dde25 100644 --- a/src/other/index.jl +++ b/src/other/index.jl @@ -221,7 +221,6 @@ end isempty(idx.cols) ? (1:length(x)) : throw(ArgumentError("All(args...) is not supported: use Cols(args...) instead")) @inline Base.getindex(x::AbstractIndex, idx::Cols) = isempty(idx.cols) ? Int[] : union(getindex.(Ref(x), idx.cols)...) -@inline Base.getindex(x::AbstractIndex, idx::Cols{Tuple{typeof(:)}}) = x[:] @inline Base.getindex(x::AbstractIndex, idx::Cols{<:Tuple{Function}}) = findall(idx.cols[1], names(x))