Yukihiro "Matz" Matsumoto
f4fb41b528
kernel.c: regression on struct/array/hash == override with super; fix #6660
...
when overriding struct#==, array#==, or hash#== with super, the recursion
detection incorrectly treated the super call as a circular reference. this
was caused by commit 5ca2d442 which added recursion detection.
the fix introduces mrb_recursive_func_p that starts from ci[-2] instead of
ci[-1], skipping the immediate parent frame which may be a ruby override
calling super. equality methods (==, eql?) now use this function, while
inspect methods keep using mrb_recursive_method_p for immediate circular
reference detection.
Co-authored-by: Claude <noreply@anthropic.com >
2025-11-12 10:25:37 +09:00
..
2025-10-16 09:59:03 +09:00
2025-10-16 09:59:03 +09:00
2025-10-16 09:59:03 +09:00
2025-10-16 09:59:03 +09:00
2025-10-16 16:54:25 +09:00
2025-10-20 08:11:59 +09:00
2025-10-25 21:05:39 +09:00
2025-10-16 17:02:23 +09:00
2025-11-12 10:25:27 +09:00
2025-10-27 08:48:04 +09:00
2024-06-09 22:49:46 +09:00
2025-11-08 14:30:13 +09:00
2025-11-08 14:29:34 +09:00
2025-11-08 14:29:06 +09:00
2025-08-31 23:15:23 +09:00
2025-05-14 01:14:02 +10:00
2025-11-12 10:25:36 +09:00
2025-08-14 10:52:47 +09:00
2025-10-14 08:22:41 +09:00
2025-10-08 23:55:23 +09:00
2025-08-14 10:52:49 +09:00
2025-11-08 17:37:56 +09:00
2025-08-21 21:49:45 +09:00
2025-08-14 10:52:49 +09:00
2025-11-08 14:27:44 +09:00
2025-07-15 11:54:12 +09:00
2025-08-14 10:52:45 +09:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:52:46 +09:00
2025-08-14 10:52:49 +09:00
2025-10-27 07:59:20 +09:00
2025-11-08 14:26:49 +09:00
2025-10-27 07:45:40 +09:00
2025-08-14 10:52:49 +09:00
2025-10-18 23:34:10 +09:00
2025-10-26 23:52:20 +09:00
2025-11-12 10:25:36 +09:00
2025-11-12 10:25:37 +09:00
2025-10-26 23:30:14 +09:00
2025-08-14 10:53:03 +09:00
2025-08-14 10:52:46 +09:00
2025-08-14 10:53:12 +09:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:52:49 +09:00
2025-06-24 13:56:07 +09:00
2025-10-26 23:03:47 +09:00
2025-11-08 14:24:40 +09:00
2025-10-26 20:33:06 +09:00
2025-10-16 17:50:03 +09:00
2025-08-14 10:52:49 +09:00
2025-08-14 10:52:45 +09:00
2025-11-04 22:09:08 +09:00
2025-10-26 20:01:30 +09:00
2025-11-12 10:25:36 +09:00
2025-11-08 14:24:12 +09:00
2025-10-26 19:16:12 +09:00
2025-11-08 14:23:41 +09:00
2025-11-12 10:25:37 +09:00
2025-08-14 10:52:49 +09:00
2025-11-08 14:14:44 +09:00
2025-05-10 08:59:18 +09:00
2024-09-24 00:14:24 +10:00
2025-10-23 13:55:47 +09:00
2025-08-14 10:52:47 +09:00
2021-01-06 18:10:21 +09:00
2021-01-06 18:10:21 +09:00
2023-04-04 19:31:42 +10:00
2025-10-08 23:55:21 +09:00
2025-05-14 15:58:23 +09:00
2025-05-14 15:58:24 +09:00
2022-11-29 15:58:05 +09:00
2025-01-06 13:57:23 +09:00
2025-05-19 08:00:36 +09:00