Skip to content

Commit 261906c

Browse files
authored
put back Any16 and All16 since some packges seem to rely on it (#41469)
1 parent bd665cf commit 261906c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

base/deprecated.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,12 @@ cat_shape(dims, shape::Tuple{}) = () # make sure `cat_shape(dims, ())` do not re
243243
@deprecate unsafe_indices(A) axes(A) false
244244
@deprecate unsafe_length(r) length(r) false
245245

246+
# these were internal type aliases, but some pacakges seem to be relying on them
247+
const Any16{N} = Tuple{Any,Any,Any,Any,Any,Any,Any,Any,
248+
Any,Any,Any,Any,Any,Any,Any,Any,Vararg{Any,N}}
249+
const All16{T,N} = Tuple{T,T,T,T,T,T,T,T,
250+
T,T,T,T,T,T,T,T,Vararg{T,N}}
251+
246252
# END 1.6 deprecations
247253

248254
# BEGIN 1.7 deprecations

0 commit comments

Comments
 (0)