mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
fa8f66ed1b
Modify `Enumerable#hash` to use `__method_recursive?(:hash)` for recursion detection, preventing infinite loops when hashing self-referencing enumerables. Add a test case to verify the fix. Co-authored-by: Gemini <gemini@google.com>