#868: Should not get a value until calling Hash#rehash when Object of Hash's key was changed. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: minor | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Comment(by lsansonetti@…): I also think it's related to #791. The problem does not appear if I replace a[0]='z' by a<<'z' (which changes the hash code). Internally, we do hash lookup based on 2 operations: first we retrieve the hash code and second we check for key equality. In MRI, since the hash code is different, it returns nil immediately (even if the key is equal). In MacRuby, the hash code is the same. -- Ticket URL: <http://www.macruby.org/trac/ticket/868#comment:2> MacRuby <http://macruby.org/>