Skip to content

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 jeremyevans requested a review from nobu September 23, 2021 19:01
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant