From: neerajdoharey@...
Date: 2014-05-19T17:37:14+00:00
Subject: [ruby-core:62681] [ruby-trunk - Bug #9855] [Open] nested hash with clone method , it act as a reference but object id are different

Issue #9855 has been reported by Neeraj Doharey.

----------------------------------------
Bug #9855: nested hash with clone method , it act as a reference but object id are different 
https://bugs.ruby-lang.org/issues/9855

* Author: Neeraj Doharey
* Status: Open
* Priority: High
* Assignee: Evan Phoenix
* Category: core
* Target version: current: 2.2.0
* ruby -v: 2.1.0 , 1.9.3
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
there is a problem with nested hash , 
when i clone a nested hash it act as a reference an when i remove an element from the cloned newly created hash , the previous hash is same as newly create hash.
there object id are different
i am sending the screenshot of the problem that i face

---Files--------------------------------
Screen Shot 2014-05-19 at 10.54.18 pm.png (431 KB)


-- 
https://bugs.ruby-lang.org/