From: "danilo.s.coelho (Danilo Coelho)" Date: 2012-11-25T05:44:08+09:00 Subject: [ruby-core:50050] [ruby-trunk - Bug #7430][Open] 'unexpected return' occurs when call a Proc that returning value in rescue Issue #7430 has been reported by danilo.s.coelho (Danilo Coelho). ---------------------------------------- Bug #7430: 'unexpected return' occurs when call a Proc that returning value in rescue https://bugs.ruby-lang.org/issues/7430 Author: danilo.s.coelho (Danilo Coelho) Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3p286 (2012-10-12) [i386-mingw32] p = Proc.new do begin 1 / 0 rescue return "error handled by proc" end end p.call -- http://bugs.ruby-lang.org/