[MacRuby-devel] [MacRuby] #412: Calling return from a Proc raises an exception

MacRuby ruby-noreply at macosforge.org
Fri Oct 30 12:19:02 PDT 2009


#412: Calling return from a Proc raises an exception
-------------------------------+--------------------------------------------
 Reporter:  mike@…             |       Owner:  lsansonetti@…        
     Type:  defect             |      Status:  new                  
 Priority:  blocker            |   Milestone:                       
Component:  MacRuby            |    Keywords:                       
-------------------------------+--------------------------------------------

Comment(by mike@…):

 I get the exception when calling return from a lambda as well.

 {{{
 $ macruby -e "lambda { return 'hi' }.call"
 uncaught Objective-C/C++ exception...
 terminate called after throwing an instance of
 'RoxorReturnFromBlockException*'
 Abort trap
 }}}

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



More information about the MacRuby-devel mailing list