In 1.8, I could write:

   def do_until(cond)
     return if cond
     yield
     retry
   end

   i = 0

   do_until(i > 10) do
     print i, " "
     i += 1
   end


In 1.9, this now reports

   t.rb:4: Illegal retry


Is this a deliberate change?


Cheers



Dave