[MacRuby] #1484: MacRuby crashes when invoked `break' in `rescue' block

MacRuby ruby-noreply at macosforge.org
Wed Mar 14 05:12:12 PDT 2012


#1484: MacRuby crashes when invoked `break' in `rescue' block
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by watson1978@…):

 It seems to occur crash that `break', `next' and `redo' are invoked within
 loop and block.

 {{{
 begin
   raise
 rescue
   lambda{
     break
   }.call
 end
 }}}

 {{{
 begin
   raise
 rescue
   lambda{
     next
   }.call
 end
 }}}

 {{{
 begin
   raise
 rescue
   lambda{
     redo
   }.call
 end
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1484#comment:2>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list