danilo.s.coelho (Danilo Coelho)
- Login: danilo.s.coelho
- Email: danilo.s.coelho@gmail.com
- Registered on: 11/25/2012
- Last sign in: 11/29/2012
Issues
open | closed | Total | |
---|---|---|---|
Assigned issues | 0 | 0 | 0 |
Reported issues | 0 | 1 | 1 |
Activity
11/25/2012
- 09:00 PM Ruby master Bug #7430: 'unexpected return' occurs when call a Proc that returning value in rescue
- In fact, there is no problem with 'return' in 'rescue'.
My intention is to return after the Proc not continue execut... - 05:44 AM Ruby master Bug #7430 (Rejected): 'unexpected return' occurs when call a Proc that returning value in rescue
- p = Proc.new do
begin
1 / 0
rescue
return "error handled by proc"
end
end
p.call
Also available in: Atom