summaryrefslogtreecommitdiff
path: root/test/ruby/test_nomethod_error.rb
diff options
context:
space:
mode:
authorJean Boussier <[email protected]>2024-02-19 11:30:26 +0100
committerJean Boussier <[email protected]>2024-03-14 11:38:40 +0100
commit315bde5a0f95562f58405a43456ec6715ef20d32 (patch)
treec499f36305afbc3fb7a4d087708e8dafd6f1ff89 /test/ruby/test_nomethod_error.rb
parent5326337d4f15ccf33128b3cf5a8896ba7f91fcc4 (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_nomethod_error.rb')
0 files changed, 0 insertions, 0 deletions