Skip to content

Commit 4bda75c

Browse files
committed
put back Any16 and All16 since some packges seem to rely on it (#41469)
(cherry picked from commit 261906c)
1 parent e5b3e4f commit 4bda75c

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
@@ -240,6 +240,12 @@ end
240240
@deprecate cat_shape(dims, shape::Tuple{}, shapes::Tuple...) cat_shape(dims, shapes) false
241241
cat_shape(dims, shape::Tuple{}) = () # make sure `cat_shape(dims, ())` do not recursively calls itself
242242

243+
# these were internal type aliases, but some pacakges seem to be relying on them
244+
const Any16{N} = Tuple{Any,Any,Any,Any,Any,Any,Any,Any,
245+
Any,Any,Any,Any,Any,Any,Any,Any,Vararg{Any,N}}
246+
const All16{T,N} = Tuple{T,T,T,T,T,T,T,T,
247+
T,T,T,T,T,T,T,T,Vararg{T,N}}
248+
243249
# END 1.6 deprecations
244250

245251
# BEGIN 1.7 deprecations

0 commit comments

Comments
 (0)