I came across the following difference:
In[]: sum(collect(values(Dict{Int32,Int32}())))
Out[]: 0
In[]: sum(values(Dict{Int32,Int32}()))
Out[]: ERROR: Argument is empty.
the difference is having an Array vs. an Iterator, but:
In[]: typeof(values(Dict{Int32,Int32}()))
Out[]: ValueIterator{Dict{Int32,Int32}}
So the type of the iterator and hence the zero for the sum initialization
can be known and a 0 returned (as in the case of an array).
Is this a bug or a feature?
