There must have been some other subtle change you made when converting to 0.4. I see the same fill! behavior in 0.3.
julia> VERSION v"0.3.11" julia> X = Array(Vector{Int},5); fill!(X, Int[]); julia> push!(X[1], 11); @show X; X => [[11],[11],[11],[11],[11]] On Tuesday, October 13, 2015 at 6:05:07 PM UTC-4, ami...@gmail.com wrote: > > Thank you to both of you, this makes sense. However I'm a bit surprised > that this code was working in 0.3.11, I'm certain of that, so the fill! > function was using different objects each time? I'd have thought that such > an important thing as evaluation of function arguments would not change > from one version to another. But maybe I missed something? >