#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 lsansone...@…):
Yes, a lambda is a Proc too.
{{{
$ ./miniruby -e "def foo; 1.times { return 42 }; end; p foo"
42
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/412#comment:4>
MacRuby <http://macruby.org/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel