#701: Hash: complex keys don't work correctly ----------------------------+----------------------------------------------- Reporter: jazzbox@… | Owner: lsansonetti@… Type: defect | Status: new Priority: major | Milestone: MacRuby 0.7 Component: MacRuby | Keywords: ----------------------------+----------------------------------------------- Comment(by lsansonetti@…): The semantics of Ruby Hash use both #hash and #eql? to determine keys equality. These 2 date objects share the same hash code but #eql? doesn't return true. The best way is to make NSObject#== and #eql? call -[NSObject isEqual:], as suggested by #659. -- Ticket URL: <http://www.macruby.org/trac/ticket/701#comment:1> MacRuby <http://macruby.org/>