-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Closed
Labels
broadcastApplying a function over a collectionApplying a function over a collectiongood first issueIndicates a good issue for first-time contributors to JuliaIndicates a good issue for first-time contributors to Julia
Description
It seems like we need a definition
broadcastable(x::Enum) = Ref(x)
like the ones here.
Pointed out recently on discourse.
This won't break backwards compatibility, because currently broadcasting over an enum gives MethodError: no method matching length(::Foo)
.
BioTurboNick, JeffBezanson, StefanKarpinski, AzamatB and Moelf
Metadata
Metadata
Assignees
Labels
broadcastApplying a function over a collectionApplying a function over a collectiongood first issueIndicates a good issue for first-time contributors to JuliaIndicates a good issue for first-time contributors to Julia