[MacRuby-devel] [MacRuby] #658: Including a module into Hash breaks creating an NSDictionary from a hash
MacRuby
ruby-noreply at macosforge.org
Wed Apr 21 15:56:21 PDT 2010
#658: Including a module into Hash breaks creating an NSDictionary from a hash
-------------------------------------+--------------------------------------
Reporter: eloy.de.enige@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
-------------------------------------+--------------------------------------
Comment(by lsansonetti@…):
On the bleeding edge I get:
{{{
$ ./miniruby -e "module H; end; class Hash; include H; end; p
NSDictionary.dictionaryWithDictionary('foo' => true)"
NSInvalidArgumentException: *** -[NSCFDictionary
initWithObjects:forKeys:count:]: attempt to insert nil key at keys[0]
(RuntimeError)
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/658#comment:2>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list