Skip to content
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

Make the uninitialized module code handle modules that include other modules #4886

Conversation

jeremyevans
Copy link
Contributor

We cannot check RCLASS_SUPER directly in the module, we need to
walk the entire super pointer chain to handle included modules.
However, we don't want to do this for refinement modules, as those
are expected to have rb_cBasicObject at the end of the super chain.

Fixes [Bug #18182]
Fixes [Bug #18185]

…modules

We cannot check RCLASS_SUPER directly in the module, we need to
walk the entire super pointer chain to handle included modules.
However, we don't want to do this for refinement modules, as those
are expected to have rb_cBasicObject at the end of the super chain.

Fixes [Bug #18182]
Fixes [Bug #18185]
@jeremyevans
Copy link
Contributor Author

@nobu used a flag approach instead of this in b929af4, so this is no longer needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant