General

Profile

danilo.s.coelho (Danilo Coelho)

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...
danilo.s.coelho (Danilo Coelho)
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
danilo.s.coelho (Danilo Coelho)

Also available in: Atom