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

Comment(by m...@…):

 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/>

_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to