Is this a bug (scalar+ranges) with the parser?

Linking this related post, where one danger is illustrated by:

v = (1:5) .- 1/7
length(v) == 4  # true  

v = collect(1:5) .- 1/7
length(v) == 5  # true  

NB: using Julia 1.7

2 Likes