Actions
Bug #817
closedSystemStackError後のrescue
Description
=begin
スタックがあふれた後に例外が捕捉される位置がおかしくなるように思います。
$ ./ruby -ve '
def foo
foo
rescue SystemStackError
raise RuntimeError
rescue RuntimeError
puts "ng"
end
foo rescue puts "ok"
'
ruby 1.9.0 (2008-12-01 revision 20433) [i386-mingw32]
ng
=end
Updated by wanabe (_ wanabe) over 15 years ago
=begin
すみません、もう一度考えてみたら
最内のRuntimeErrorをその1つ上の階層のfooのrescueが拾っているだけなので
全く正しい挙動だったことに気がつきました。
お手数ですがrejectお願いします。
=end
Updated by matz (Yukihiro Matsumoto) over 15 years ago
- Status changed from Open to Rejected
=begin
rejected as requested by the original poster.
=end
Actions
Like0
Like0Like0Like0