Project

General

Profile

Bug #817

SystemStackError後のrescue

Added by wanabe (_ wanabe) over 11 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Normal
Target version:
-
ruby -v:
Backport:
[ruby-dev:37258]

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

Also available in: Atom PDF