#255: NSArray.new(["elem"]) segfaults
---------------------------------------+------------------------------------
 Reporter:  th...@…                    |       Owner:  lsansone...@…        
     Type:  defect                     |      Status:  new                  
 Priority:  major                      |   Milestone:                       
Component:  MacRuby                    |    Keywords:  NSArray constructor  
---------------------------------------+------------------------------------

Old description:

> {{{
> NSArray.new(["elem"])
> }}}
>
> causes a segmentation fault with macruby 0.4

New description:

 {{{
 NSArray.new(["elem"])
 }}}

 causes a segmentation fault with macruby 0.4

--

Comment(by mattaimone...@…):

 {{{
 my_array = Array.new(['elem'])
 }}

 or even better:

 {{{
 my_array = ['eleme']
 }}

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

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to