Ticket #183 (closed defect: duplicate)
loop/next seg faulting
| Reported by: | drnicwilliams@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | MacRuby | Keywords: | loop next |
| Cc: | drnicwilliams@… |
Description
The following should work:
@@@ short_enum = [1, 2, 3].to_enum long_enum = ('a'..'z').to_enum loop do
puts "#{short_enum.next} #{long_enum.next}"
end @@@
Example comes from http://slideshow.rubyforge.org/ruby19.html slide 37
It currently segfaults.
Change History
Note: See
TracTickets for help on using
tickets.

