JuliaLang/julia — Issue #303: boundary case for adding ranges
Author: GeorgeXing
Created: 2011-12-12 05:02:28+00:00
State: open
Labels: bugs

julia> (1:10) + (10:-1:1)
11:0:11

Obvious what the issue is, but I don't know how to best fix it, as there's no way to store the result as a Range, but making this case output a different type of vector seems bad for type inference...