Skip to content

Commit

Permalink
unexport cat_shape (JuliaLang#40549)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnychen94 authored and johanmon committed Jul 5, 2021
1 parent 6ad8bf4 commit 44d64d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function parameter_upper_bound(t::UnionAll, idx)
end

# these were internal functions, but some packages seem to be relying on them
@deprecate cat_shape(dims, shape::Tuple{}, shapes::Tuple...) cat_shape(dims, shapes)
@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

# END 1.6 deprecations

0 comments on commit 44d64d7

Please sign in to comment.