Bug #3283
closedSystemStackError Backtrace returns String not Array
Description
=begin
In this commit http://github.com/shyouhei/ruby/commit/ecd11fb371b5f4a00d0b0006b325de3c5437b8d2 changes were introduced that affected how SystemStackError's backtrace was handled. The changes resulted in SystemStackError's backtrace returning a String instead of an Array. However, previously all backtraces have been Arrays. All available documentation supports this notion and numerous Ruby project, including Rails have relied on the backtrace being an Array. Even if the backtrace is going to be truncated as a single line, it should still be returned as a single element Array.
=end
Updated by ernie (Ernie Miller) over 14 years ago
=begin
Seconded. Returning two different types of data in a backtrace needlessly complicates error handling code.
=end
Updated by mame (Yusuke Endoh) over 14 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
=begin
This issue was solved with changeset r27848.
Peter, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
=end