[MacRuby-devel] [MacRuby] #246: NSMutableDictionary methods cannot retrieve values for Fixnum keys
MacRuby
ruby-noreply at macosforge.org
Wed Feb 10 22:16:57 PST 2010
#246: NSMutableDictionary methods cannot retrieve values for Fixnum keys
---------------------------------------+------------------------------------
Reporter: krishna.kotecha@… | Owner: eloy.de.enige@…
Type: defect | Status: closed
Priority: critical | Milestone: MacRuby 0.6
Component: MacRuby | Resolution: fixed
Keywords: NSMutableDictionary Hash |
---------------------------------------+------------------------------------
Changes (by lsansonetti@…):
* 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/>
More information about the MacRuby-devel
mailing list