::OrdinalRange .* ::Integer
returns a StepRangeLen
(which is no longer OrdinalRange
)
#57196
Labels
ranges
Everything AbstractRange
For example
It can be an issue for functions that only requires
OrdinalRange
. For exampleI think the easy fix would be to write this:
julia/base/broadcast.jl
Lines 1139 to 1140 in e65af91
but for
typeof(*)
, and by also multiplying the step to have the same behavior.The text was updated successfully, but these errors were encountered: