From a207237982f95778c031734c605499f40275c71e Mon Sep 17 00:00:00 2001 From: Kristoffer Carlsson Date: Tue, 6 Jul 2021 09:48:28 +0200 Subject: [PATCH] put back Any16 and All16 since some packges seem to rely on it (#41469) (cherry picked from commit 261906c2094c155ba4891721c26cfdcd960ea145) --- base/deprecated.jl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/base/deprecated.jl b/base/deprecated.jl index c2a717a403a90b..6d5f0bc46d7f55 100644 --- a/base/deprecated.jl +++ b/base/deprecated.jl @@ -240,6 +240,12 @@ end @deprecate cat_shape(dims, shape::Tuple{}, shapes::Tuple...) cat_shape(dims, shapes) false cat_shape(dims, shape::Tuple{}) = () # make sure `cat_shape(dims, ())` do not recursively calls itself +# these were internal type aliases, but some pacakges seem to be relying on them +const Any16{N} = Tuple{Any,Any,Any,Any,Any,Any,Any,Any, + Any,Any,Any,Any,Any,Any,Any,Any,Vararg{Any,N}} +const All16{T,N} = Tuple{T,T,T,T,T,T,T,T, + T,T,T,T,T,T,T,T,Vararg{T,N}} + # these were internal type aliases, but some pacakges seem to be relying on them const Any16{N} = Tuple{Any,Any,Any,Any,Any,Any,Any,Any, Any,Any,Any,Any,Any,Any,Any,Any,Vararg{Any,N}}