[MacRuby-devel] [MacRuby] #155: arrays can'e be changed while being enumerated

MacRuby ruby-noreply at macosforge.org
Sat Nov 8 05:28:48 PST 2008


#155: arrays can'e be changed while being enumerated
-------------------------------+--------------------------------------------
 Reporter:  jason at rubynow.com  |       Owner:  lsansonetti at apple.com
     Type:  defect             |      Status:  new                  
 Priority:  critical           |   Milestone:                       
Component:  MacRuby            |    Keywords:                       
-------------------------------+--------------------------------------------
 collections in ruby can be modified in place, but this is not allowed with
 NSMutableArray.

 rb_main.rb:22:in `NSApplicationMain': NSGenericException: *** Collection
 <NSCFArray: 0x10cdec0> was mutated while being enumerated. (RuntimeError)

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



More information about the MacRuby-devel mailing list