[MacRuby] #1134: The new code for next/ensure does not work properly
MacRuby
ruby-noreply at macosforge.org
Fri Jan 28 03:33:58 PST 2011
#1134: The new code for next/ensure does not work properly
----------------------------------------+-----------------------------------
Reporter: vincent.isambart@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.9
Component: MacRuby | Keywords:
----------------------------------------+-----------------------------------
If you rebuild the current trunk after a rake clean, MacRuby loops forever
on Makefile generation for the extensions. Running it in GDB you can see
that it's looping in the LLVM optimization passes.
I managed to reduce the problem to the following:
{{{
def foo(dummy)
1.times do
next
end
ensure
puts
end
foo(nil)
}}}
In fact running this reduction in MacRuby does not loop but simply
crashes.
The bug comes probably from today's next/ensure changes.
--
Ticket URL: <http://www.macruby.org/trac/ticket/1134>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list