[MacRuby-devel] [MacRuby] #480: NSArray.alloc.initWithObjects('-i', nil) seg faults

MacRuby ruby-noreply at macosforge.org
Thu Dec 3 03:05:59 PST 2009


#480: NSArray.alloc.initWithObjects('-i', nil) seg faults
-------------------------------------+--------------------------------------
 Reporter:  mattaimonetti@…          |        Owner:  lsansonetti@…        
     Type:  defect                   |       Status:  closed               
 Priority:  blocker                  |    Milestone:  MacRuby 0.5          
Component:  MacRuby                  |   Resolution:  invalid              
 Keywords:                           |  
-------------------------------------+--------------------------------------
Changes (by mattaimonetti@…):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 hmm nm I forgot to load Cocoa

 {{{
 $ macruby -e "framework 'Cocoa'; p NSArray.alloc.initWithObjects('-i',
 nil)"
 # => ["-i"]
 }}}

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



More information about the MacRuby-devel mailing list