Since collect promises an Array not an AbstractArray I am thinking that the first return is wrong. But I think this should probably be consistent at least. At least I would assume that collect(collect()) == collect
This seems like a problem with collect using similar to create the destination, instead of using an Array. Could you report this in Julia Base? That's where the fix should go to
So here is a weird thing:
Since
collect
promises anArray
not anAbstractArray
I am thinking that the first return is wrong. But I think this should probably be consistent at least. At least I would assume thatcollect(collect()) == collect