Project

General

Profile

Actions

Bug #7592

closed

Can not continue after SystemStackError

Added by ko1 (Koichi Sasada) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0dev (2012-12-20 trunk 38476) [x86_64-linux]
Backport:
[ruby-core:50989]

Description

The following code can not continue after next line where SystemStackError is raised.

def rec n=0
begin
rec n+1
p n # it works
rescue SystemStackError => e
p e
end
end

rec
p :end # this line doesn't work

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0