natalie
natalie copied to clipboard
Hash#replace with self
I accidentally called Hash#replace with ~a copy of~ itself and found this bug:
h = { foo: 'bar' }
p h.replace(h)
p h
With CRuby:
{:foo=>"bar"}
{:foo=>"bar"}
With Natalie:
{}
{}