Skip to content

Commit c1b3e15

Browse files
committed
update uncolon
1 parent 9374445 commit c1b3e15

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/selectors.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@ end
210210

211211
using Base: to_indices, tail, safe_tail, uncolon
212212

213+
if VERSION > v"1.9-DEV"
214+
Base.uncolon(inds, I) = Base.uncolon(inds)
215+
end
216+
213217
@inline Base.to_indices(A::Union{KeyedArray,NdaKa}, inds, I::Tuple{Colon, Vararg{Any}}) =
214218
(uncolon(inds, I), to_indices(A, safe_tail(inds), tail(I))...)
215219

0 commit comments

Comments
 (0)