Actions
Bug #7430
closed'unexpected return' occurs when call a Proc that returning value in rescue
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3p286 (2012-10-12) [i386-mingw32]
Backport:
Description
p = Proc.new do
begin
1 / 0
rescue
return "error handled by proc"
end
end
p.call
Actions
Like0
Like0Like0