[MacRuby-devel] [MacRuby] #707: raising an exception inside a rescue raises the rescued exception instead of the new exception
MacRuby
ruby-noreply at macosforge.org
Wed May 12 15:20:08 PDT 2010
#707: raising an exception inside a rescue raises the rescued exception instead
of the new exception
---------------------------------------+------------------------------------
Reporter: thilo@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
---------------------------------------+------------------------------------
Comment(by lsansonetti@…):
{{{
$ ./miniruby -e "begin; raise 'bad'; rescue; raise 'ok'; end"
/Users/lrz/src/macruby-trunk/-e:1:in `<main>': bad (RuntimeError)
}}}
I bet it's related to the way we push/pop VM exceptions in the landing
pad.
--
Ticket URL: <http://www.macruby.org/trac/ticket/707#comment:1>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list