diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2025-05-13 10:28:42 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2025-05-14 10:26:48 +0200 |
| commit | 94001197028bca3426365ea6f2e6f398ee236a7e (patch) | |
| tree | d264205d33e05e8a8a8da82e870ee6a7dac18b89 /spec/ruby/core/array/replace_spec.rb | |
| parent | 130d6aaef297ec43ed24f413624088f41bc616b3 (diff) | |
Fix `object_id` for classes and modules in namespace context
Given classes and modules have a different set of fields in every
namespace, we can't store the object_id in fields for them.
Given that some space was freed in `RClass` we can store it there
instead.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13315
Diffstat (limited to 'spec/ruby/core/array/replace_spec.rb')
0 files changed, 0 insertions, 0 deletions
