[MacRuby-devel] [MacRuby] #618: Range#each problem with Infinity

MacRuby ruby-noreply at macosforge.org
Wed Feb 17 11:33:22 PST 2010


#618: Range#each problem with Infinity
---------------------------------+------------------------------------------
 Reporter:  LarsHuluk@…          |       Owner:  lsansonetti@…        
     Type:  defect               |      Status:  new                  
 Priority:  blocker              |   Milestone:                       
Component:  MacRuby              |    Keywords:  range each infinity  
---------------------------------+------------------------------------------
 somehow the loop doesn't stop

 {{{
 Infinity = 1.0 / 0
 (0 .. Infinity).each do
   break # doesn't work
 end
 puts 'done'
 }}}

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



More information about the MacRuby-devel mailing list