From 7fe05db29340aa42c280290ffc922d8dc0e20c72 Mon Sep 17 00:00:00 2001 From: Jameson Nash Date: Wed, 21 Apr 2021 15:06:18 -0400 Subject: [PATCH] remove some exports from Broadcast (#40543) It seems like these were unintentional (and undocumented). Refs #26919. --- base/Base.jl | 3 ++- base/broadcast.jl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/base/Base.jl b/base/Base.jl index f92cd4e1c3c08..df304f6b87a67 100644 --- a/base/Base.jl +++ b/base/Base.jl @@ -216,7 +216,8 @@ include("multidimensional.jl") include("broadcast.jl") using .Broadcast -using .Broadcast: broadcasted, broadcasted_kwsyntax, materialize, materialize! +using .Broadcast: broadcasted, broadcasted_kwsyntax, materialize, materialize!, + broadcast_preserving_zero_d, andand, oror # missing values include("missing.jl") diff --git a/base/broadcast.jl b/base/broadcast.jl index fd3fcba74fb57..4c3f91c50638f 100644 --- a/base/broadcast.jl +++ b/base/broadcast.jl @@ -11,7 +11,7 @@ using .Base.Cartesian using .Base: Indices, OneTo, tail, to_shape, isoperator, promote_typejoin, @pure, _msk_end, unsafe_bitgetindex, bitcache_chunks, bitcache_size, dumpbitcache, unalias import .Base: copy, copyto!, axes -export broadcast, broadcast!, BroadcastStyle, broadcast_axes, broadcastable, dotview, @__dot__, broadcast_preserving_zero_d, BroadcastFunction, andand, oror +export broadcast, broadcast!, BroadcastStyle, broadcast_axes, broadcastable, dotview, @__dot__, BroadcastFunction ## Computing the result's axes: deprecated name const broadcast_axes = axes