* eval.c (get_errinfo): return th->errinfo value
if normal errinfo place (dynamic local viriable) is not found. fixes Bug #732 [ruby-dev:37046]. * bootstraptest/test_proc.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e434135ecb
commit
bd96f1fe70
@ -1,3 +1,11 @@
|
|||||||
|
Sat Dec 27 13:36:55 2008 Koichi Sasada <ko1@atdot.net>
|
||||||
|
|
||||||
|
* eval.c (get_errinfo): return th->errinfo value
|
||||||
|
if normal errinfo place (dynamic local viriable) is not found.
|
||||||
|
fixes Bug #732 [ruby-dev:37046].
|
||||||
|
|
||||||
|
* bootstraptest/test_proc.rb: add a test.
|
||||||
|
|
||||||
Sat Dec 27 13:10:43 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
Sat Dec 27 13:10:43 2008 Yuki Sonoda (Yugui) <yugui@yugui.jp>
|
||||||
|
|
||||||
* man/irb.1: adds -v, -h, -E and -U.
|
* man/irb.1: adds -v, -h, -E and -U.
|
||||||
|
@ -418,3 +418,11 @@ assert_equal 'foo!', %q{
|
|||||||
|
|
||||||
fp.bar
|
fp.bar
|
||||||
}, 'Subclass of Proc'
|
}, 'Subclass of Proc'
|
||||||
|
|
||||||
|
assert_equal 'ok', %q{
|
||||||
|
at_exit{
|
||||||
|
print $!.message
|
||||||
|
}
|
||||||
|
raise "ok"
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user