#246: NSMutableDictionary methods cannot retrieve values for Fixnum keys
---------------------------------------+------------------------------------
 Reporter:  krishna.kote...@…          |        Owner:  eloy.de.en...@…        
     Type:  defect                     |       Status:  closed                 
 Priority:  critical                   |    Milestone:  MacRuby 0.6            
Component:  MacRuby                    |   Resolution:  fixed                  
 Keywords:  NSMutableDictionary Hash   |  
---------------------------------------+------------------------------------
Changes (by lsansone...@…):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => MacRuby 0.6


Comment:

 This has been fixed in trunk (I don't remember the exact revision).

 {{{
 $ ./miniruby  -e "h={}; h.setObject('foo',forKey:42); p
 h.objectForKey(42)"
 "foo"
 $ ./miniruby  -e "h=NSMutableDictionary.dictionary;
 h.setObject('foo',forKey:42); p h.objectForKey(42)"
 "foo"
 }}}

 Closing.

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/246#comment:4>
MacRuby <http://macruby.org/>

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to