[MacRuby-devel] [MacRuby] #793: Iterator is executed more when calls Hash#shift in Hash's Iterator.

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


#793: Iterator is executed more when calls Hash#shift in Hash's Iterator.
----------------------------------+-----------------------------------------
 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/793#comment:1>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list