#525: NSArray coersion error -------------------------------------+-------------------------------------- Reporter: mattaimone...@… | Owner: lsansone...@… Type: defect | Status: new Priority: blocker | Milestone: MacRuby 0.5 Component: MacRuby | Keywords: -------------------------------------+--------------------------------------
Old description: > Here is how to reproduce the bug every single time. (your first contact > shouldn't be in a group for the error to be reproducible) > > {{{ > $ macruby -e "framework 'AddressBook'; puts > ABAddressBook.sharedAddressBook.people.first.parentGroups" > core:in `puts:': can't convert __NSArray0 to Array (__NSArray0#to_ary > gives __NSArray0) (TypeError) > from -e:in `<main>' > }}} New description: Here is how to reproduce the bug every single time. (your first contact shouldn't be in a group for the error to be reproducible) {{{ $ macruby -e "framework 'AddressBook'; puts ABAddressBook.sharedAddressBook.people.first.parentGroups" core:in `puts:': can't convert __NSArray0 to Array (__NSArray0#to_ary gives __NSArray0) (TypeError) from -e:in `<main>' }}} -- Comment(by lsansone...@…): <rdar://problem/7296998> -- Ticket URL: <http://www.macruby.org/trac/ticket/525#comment:1> MacRuby <http://macruby.org/> _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel