[MacRuby] #799: Abort occurs when will raise LocalJumpError with Proc.
#799: Abort occurs when will raise LocalJumpError with Proc. ----------------------------------+----------------------------------------- Reporter: watson1978@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ----------------------------------+----------------------------------------- Test Script: {{{ $ cat test_proc_2.rb def get_me_a_return Proc.new { return 42 } end get_me_a_return.call # => LocalJumpError: unexpected return }}} Result of MacRuby Trunk: {{{ $ macruby test_proc_2.rb uncaught Objective-C/C++ exception... terminate called after throwing an instance of 'RoxorReturnFromBlockException*' zsh: abort macruby test_proc_2.rb }}} -- Ticket URL: <http://www.macruby.org/trac/ticket/799> MacRuby <http://macruby.org/>
participants (1)
-
MacRuby