summaryrefslogtreecommitdiff
path: root/lib/rubygems/requirement.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-07-24 08:09:50 -0700
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-07-31 21:07:19 +0900
commit1a935606b5e307375ce9d4215a46da2ca91dc1d6 (patch)
tree902d7cdddb5650724d56c9a4f2ad9108cbc3a576 /lib/rubygems/requirement.rb
parent331fe6a88f96d9f986da55e003e896c2bc181db0 (diff)
[rubygems/rubygems] Fix Kernel#warn override to handle backtrace location with nil path
It's very unlikely to hit this case, but it is possible, as Thread::Backtrace::Location#path can return nil if the location is a cfunc with no previous iseq. See location_path in vm_backtrace.c in Ruby. https://github.com/rubygems/rubygems/commit/511935645a
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3379
Diffstat (limited to 'lib/rubygems/requirement.rb')
0 files changed, 0 insertions, 0 deletions