[MacRuby] #1131: Abort: exception is not caught when open the file which is not existing in at_exit block.
MacRuby
ruby-noreply at macosforge.org
Thu Jan 27 18:17:17 PST 2011
#1131: Abort: exception is not caught when open the file which is not existing in
at_exit block.
----------------------------------+-----------------------------------------
Reporter: watson1978@… | Owner: lsansonetti@…
Type: defect | Status: closed
Priority: blocker | Milestone: MacRuby 0.9
Component: MacRuby | Resolution: fixed
Keywords: |
----------------------------------+-----------------------------------------
Changes (by lsansonetti@…):
* status: new => closed
* resolution: => fixed
* milestone: => MacRuby 0.9
Comment:
Should be fixed in r5192.
{{{
$ ./miniruby -e "at_exit {p 1}; at_exit {foo}; at_exit{p 2}"
2
-e:1:in `block': undefined local variable or method `foo' for
main:TopLevel (NameError)
1
$ ruby -e "at_exit {p 1}; at_exit {foo}; at_exit{p 2}"
2
-e:1: undefined local variable or method `foo' for main:Object (NameError)
1
}}}
--
Ticket URL: <http://www.macruby.org/trac/ticket/1131#comment:1>
MacRuby <http://macruby.org/>
More information about the macruby-tickets
mailing list