Initialising a dictionary with duplicate keys

I would say this is expected behaviour since it expands to

dict = Dict{Symbol, Int}()
for (k, v) in (:x=>1, :x=>2)
  dict[k] = v
end