#618: Range#each problem with Infinity
---------------------------------+------------------------------------------
Reporter: larshu...@… | Owner: lsansone...@…
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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel