summaryrefslogtreecommitdiff
path: root/include/ruby/debug.h
diff options
context:
space:
mode:
authorMike Dalessio <mike.dalessio@gmail.com>2024-01-30 08:05:51 -0500
committergit <svn-admin@ruby-lang.org>2024-02-02 21:38:04 +0000
commit66a6f2b15a8827f830db7bf8cf8c8ebba79fa237 (patch)
tree0f9dcb74a43437012b18fc8e174b9fd3c1fd3bd7 /include/ruby/debug.h
parentd2f004cf6a99564a59ed159c4963d199488665cd (diff)
[rubygems/rubygems] feat: Gem::Requirement#initialize_copy deep-copies @requirements
to avoid accidentally mutating the original's state when doing: ```ruby req2 = req.dup req2.concat([">= 3.3.22"]) ``` see https://github.com/rake-compiler/rake-compiler/pull/236 for a real-world use case that would be made simpler with this behavior. https://github.com/rubygems/rubygems/commit/8e0c03144e
Diffstat (limited to 'include/ruby/debug.h')
0 files changed, 0 insertions, 0 deletions