diff options
author | eileencodes <[email protected]> | 2023-02-08 15:27:28 -0500 |
---|---|---|
committer | Aaron Patterson <[email protected]> | 2023-02-09 11:24:32 -0800 |
commit | b9e6580135d20cf3fff2e872b3e54c08e96468cb (patch) | |
tree | 9618a8a275d1a293d8523eb876a782a181173cf6 /test/ruby/test_sprintf_comb.rb | |
parent | 0ddf29f4d170e90b895f4fbd313a716d770932b8 (diff) |
Copy cvar table on clone
When a class with a class variable is cloned we need to also copy the
cvar cache table from the original table to the clone. I found this bug
while working on fixing [Bug #19379]. While this does not fix that bug
directly it is still a required change to fix another bug revealed by
the fix in https://github.com/ruby/ruby/pull/7265
This needs to be backported to 3.2.x and 3.1.x.
Co-authored-by: Aaron Patterson <[email protected]>
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7275
Diffstat (limited to 'test/ruby/test_sprintf_comb.rb')
0 files changed, 0 insertions, 0 deletions