Actions
Bug #7592
closedCan not continue after SystemStackError
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
Updated by tarui (Masaya Tarui) about 12 years ago
- Status changed from Open to Assigned
Updated by ko1 (Koichi Sasada) almost 12 years ago
This issue caused after r38331.
test.rb¶
def rec n=0
begin
rec n+1
rescue Exception
p n
exit!
end
end
rec
r38330:¶
./miniruby -I../trunk/lib -I. -I.ext/common ../trunk/test.rb
8732
r38331:¶
./miniruby -I../trunk/lib -I. -I.ext/common ../trunk/test.rb
../trunk/test.rb:2: SystemStackError
nobu, do you have any idea?
Updated by ko1 (Koichi Sasada) almost 12 years ago
- Status changed from Assigned to Closed
r38601 may solve this issue.
Actions
Like0
Like0Like0Like0