naopontan (naoki takaesu)
- Login: naopontan
- Email: naopontan@gmail.com
- Registered on: 08/01/2014
- Last sign in: 11/13/2026
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 1 | 1 |
Activity
11/13/2026
-
05:00 PM Ruby Bug #22475 (Closed): Prepending a second module to an already-included module duplicates it in the includer's ancestors (regression from the Bug #22257 fix)
- Applied in changeset commit:git|1d214cd7786e916cd5b198eb58436a5e10b45cc3.
----------
[Bug #22475] Skip origin iclasses when prepending to an included module
Since c59c4d717a ([Bug #22257]), rb_prepend_module registers the origin
iclass... -
04:59 PM Ruby Revision 1d214cd7 (git): [Bug #22475] Skip origin iclasses when prepending to an included module
- Since c59c4d717a ([Bug #22257]), rb_prepend_module registers the origin
iclass it backfills into each includer in the module's subclasses list
so that method cache invalidation can reach it.
The subclasses loop in rb_prepend_module then...
10/27/2026
-
10:10 AM Ruby Bug #22475: Prepending a second module to an already-included module duplicates it in the includer's ancestors (regression from the Bug #22257 fix)
- Pull request: https://github.com/ruby/ruby/pull/19552
It contains the same change as the attached patch (skip origin iclasses in the subclasses loop of `rb_prepend_module`) plus a regression test in `test/ruby/test_module.rb`. -
09:45 AM Ruby Bug #22475 (Closed): Prepending a second module to an already-included module duplicates it in the includer's ancestors (regression from the Bug #22257 fix)
- ## Summary
Since the fix for #22257 (master c59c4d717a, backported to ruby_3_4 as c8e05b5885 and to ruby_4_0 as 06611602a9), prepending a module to a module `M` that already has includers works correctly the first time, but every *sub...