[MacRuby-devel] [MacRuby] #525: NSArray coersion error

MacRuby ruby-noreply at macosforge.org
Sun Dec 27 20:25:45 PST 2009


#525: NSArray coersion error
-------------------------------------+--------------------------------------
 Reporter:  mattaimonetti@…          |       Owner:  lsansonetti@…        
     Type:  defect                   |      Status:  new                  
 Priority:  blocker                  |   Milestone:  MacRuby 0.5          
Component:  MacRuby                  |    Keywords:                       
-------------------------------------+--------------------------------------
 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>'
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/525>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list