Mike Dalessio 0768f08caf 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]
2026-02-10 10:32:51 -08:00
..
2025-12-16 16:53:13 +09:00
2025-11-14 12:27:36 +09:00
2021-06-29 23:45:49 +09:00
2024-04-04 18:54:54 +09:00
2025-12-12 13:35:30 -05:00
2025-05-31 04:01:33 +09:00
2025-09-24 03:59:03 +09:00
2025-05-31 04:01:33 +09:00
2025-10-28 21:24:02 -04:00
2025-09-06 21:57:30 +09:00
2025-10-06 13:49:38 -07:00