Skip to content

Simplify rb_fields_tbl_copy #13755

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 1, 2025
Merged

Conversation

casperisfine
Copy link
Contributor

Now that ivars are stored in a imemo/fields, we can just clone the fields object.

byroot added 2 commits July 1, 2025 10:29
These used to be private variables to store the class name
but aren't a thing since several versions.
Now that ivars are stored in a imemo/fields, we can just clone
the fields object.
@casperisfine casperisfine force-pushed the class-ivar-refactor-2 branch from 4d304cd to e604f01 Compare July 1, 2025 08:29
@byroot byroot merged commit 9ab3e47 into ruby:master Jul 1, 2025
84 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants