diff options
author | Jean Boussier <[email protected]> | 2024-02-19 11:30:26 +0100 |
---|---|---|
committer | Jean Boussier <[email protected]> | 2024-03-14 11:38:40 +0100 |
commit | 315bde5a0f95562f58405a43456ec6715ef20d32 (patch) | |
tree | c499f36305afbc3fb7a4d087708e8dafd6f1ff89 /test/ruby/test_file_exhaustive.rb | |
parent | 5326337d4f15ccf33128b3cf5a8896ba7f91fcc4 (diff) |
`Exception#set_backtrace` accept arrays of `Backtrace::Location`
[Feature #13557]
Setting the backtrace with an array of strings is lossy. The resulting
exception will return nil on `#backtrace_locations`.
By accepting an array of `Backtrace::Location` instance, we can rebuild
a `Backtrace` instance and have a fully functioning Exception.
Co-Authored-By: Étienne Barrié <[email protected]>
Diffstat (limited to 'test/ruby/test_file_exhaustive.rb')
0 files changed, 0 insertions, 0 deletions