diff options
| author | Mike Dalessio <mike@37signals.com> | 2026-02-10 12:10:21 -0500 |
|---|---|---|
| committer | Takashi Kokubun <takashikkbn@gmail.com> | 2026-02-10 10:32:51 -0800 |
| commit | 0768f08caff514b0ba616dc26d76aad90577eefe (patch) | |
| tree | 31d0518b1e2aa944f75b4ec28f9a897a5e2fae9d /libexec | |
| parent | e025c839ac71b609bb50ff74352f9a11cd164c3c (diff) | |
Fix UnboundMethod#== for methods from included/extended modules [Backport #21873]
Method#unbind clones the method entry, preserving its defined_class.
For methods mixed in via include/extend, defined_class is an ICLASS,
causing UnboundMethod#== to return false when comparing against the
same method obtained via Module#instance_method.
Resolve ICLASS defined_class in method_eq.
[Bug #21873]
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions
