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

MacRuby ruby-noreply at macosforge.org
Sat Oct 31 00:27:17 PDT 2009


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

Comment(by conradwt@…):

 In Ruby 1.9, lambda produces a different variant of the Proc object than
 Proc.new.  Also, proc is no longer a synonym for lambda.  However, one can
 use proc as a synonym for Proc.new.

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



More information about the MacRuby-devel mailing list