diff options
| author | Aaron Patterson <tenderlove@ruby-lang.org> | 2025-05-22 16:07:21 -0700 |
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2025-05-22 22:12:42 -0700 |
| commit | e32054736fcdb2a7729dc770ec0c7ad6a4654135 (patch) | |
| tree | 625bb53e0dd8d256012dc6146150d9968235c210 /spec/ruby/core/array/pack/shared | |
| parent | 9583b7af8f4934397913e2197a1c40e91c1d853e (diff) | |
Remove assertion on field in `class_duplicate_iclass_classext`
`ext` is newly allocated so it shouldn't need an assertion. The class
ext (which is always from the module) that we're passing to
`class_duplicate_iclass_classext` could legitimately have instance
variables on it. We just want to avoid copying them.
The assertion was making this crash:
```
$ RUBY_NAMESPACE=1 ./miniruby -e1
```
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/13419
Diffstat (limited to 'spec/ruby/core/array/pack/shared')
0 files changed, 0 insertions, 0 deletions
