Actions
Bug #817
closedSystemStackError後のrescue
    Bug #817:
    SystemStackError後の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 ko1 (Koichi Sasada) almost 17 years ago
          
          
        
        
      
      - Assignee set to ko1 (Koichi Sasada)
 
=begin
=end
        
          
          Updated by wanabe (_ wanabe) almost 17 years ago
          
          
        
        
      
      =begin
すみません、もう一度考えてみたら
最内のRuntimeErrorをその1つ上の階層のfooのrescueが拾っているだけなので
全く正しい挙動だったことに気がつきました。
お手数ですがrejectお願いします。
=end
        
          
          Updated by matz (Yukihiro Matsumoto) almost 17 years ago
          
          
        
        
      
      - Status changed from Open to Rejected
 
=begin
rejected as requested by the original poster.
=end
Actions