Is there any reason why #29056 only applies to float ranges?
julia> (1:5)*0
ERROR: ArgumentError: step cannot be zero
Stacktrace:
[1] steprange_last( ::Int64, ::Int64, ::Int64 ) at ./range.jl:190
[2] Type at ./range.jl:180 [inlined]
[3] _rangestyle at ./range.jl:93 [inlined]
[4] _range at ./range.jl:91 [inlined]
[5] #range#29 at ./range.jl:76 [inlined]
[6] #range at ./none:0 [inlined]
[7] broadcasted at ./broadcast.jl:1006 [inlined]
[8] broadcasted at ./broadcast.jl:1166 [inlined]
[9] broadcast at ./broadcast.jl:702 [inlined]
[10] *( ::UnitRange{Int64}, ::Int64 ) at ./arraymath.jl:55
[11] top-level scope at none:0
julia> (1:5)*0.0
0.0:0.0:0.0
https://github.com/JuliaLang/julia/pull/29056
Edit: this is on 1.0.1