Actions
Bug #18171
closed`Marshal` ignores `Hash#compare_by_identity`
Description
Is this a bug?
h = {}.compare_by_identity
h["a"+"1"] = "1"
h["a"+"1"] = "2"
p h #=> {"a1"=>"1", "a1"=>"2"}
p Marshal.load(Marshal.dump(h)) #=> {"a1"=>"2"}
Actions
Like0
Like0