#707: raising an exception inside a rescue raises the rescued exception instead
of the new exception
---------------------------------------+------------------------------------
Reporter: th...@… | Owner: lsansone...@…
Type: defect | Status: new
Priority: blocker | Milestone:
Component: MacRuby | Keywords:
---------------------------------------+------------------------------------
Comment(by lsansone...@…):
{{{
$ ./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/>
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel