-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate bitbroadcast
#19771
Deprecate bitbroadcast
#19771
Conversation
715ddd4
to
ed30808
Compare
@@ -48,7 +48,7 @@ All mathematical operations and functions are supported for arrays | |||
```@docs | |||
Base.broadcast | |||
Base.Broadcast.broadcast! | |||
Base.Broadcast.bitbroadcast | |||
Base.bitbroadcast |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should usually delete docs for the old version when we deprecate something
``` | ||
""" | ||
function bitbroadcast end | ||
@deprecate bitbroadcast broadcast |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was this also exported from Base? if so, delete it from exports.jl, the deprecate macro handles that
if not, could eval the deprecation into the Broadcast module so the qualified name doesn't change?
After #17623
broadcast
produces aBitArray
instead ofArray{Bool}
for functions yielding a boolean result, sobitbroadcast
shouldn't be needed anymore.