Projects

Ticket #618 (closed defect: fixed)

Opened 2 years ago

Last modified 17 months ago

Range#each problem with Infinity

Reported by: LarsHuluk@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby 0.7
Component: MacRuby Keywords: range each infinity
Cc:

Description

somehow the loop doesn't stop

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

Change History

Changed 17 months ago by lsansonetti@…

  • status changed from new to closed
  • resolution set to fixed
  • milestone set to MacRuby 0.7

Should be fixed in r4494.

Note: See TracTickets for help on using tickets.