[MacRuby-devel] [MacRuby] #792: Hash#delete while iterating is broken.

MacRuby ruby-noreply at macosforge.org
Mon Aug 2 19:04:26 PDT 2010


#792: Hash#delete while iterating is broken.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |        Owner:  lsansonetti@…        
     Type:  defect                |       Status:  closed               
 Priority:  blocker               |    Milestone:                       
Component:  MacRuby               |   Resolution:  wontfix              
 Keywords:                        |  
----------------------------------+-----------------------------------------
Changes (by lsansonetti@…):

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


Comment:

 Modifying a container object during its iteration produces undefined
 results in MacRuby. It looks like there is no consensus on standard
 behavior on this issue and Matz confirmed that this is undefined behavior
 in http://groups.google.com/group/ruby-core-
 google/browse_thread/thread/c1800975272cbfdc/abe9796fbeddd33a?lnk=gst&q=undefined+behaviour&pli=1.
 Closing as wontfix.

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



More information about the MacRuby-devel mailing list