Project

General

Profile

Actions

Bug #817

closed

SystemStackError後のrescue

Added by wanabe (_ wanabe) over 15 years ago. Updated almost 13 years ago.

Status:
Rejected
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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0