Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-06-15 | Restore rb_exec_recursive_outer | John Hawthorn | |
This was a public method, so we should probably keep it. Notes: Merged: https://github.com/ruby/ruby/pull/6027 | |||
2022-06-10 | Make method id explicit in rb_exec_recursive_outer | John Hawthorn | |
Previously, because opt_aref and opt_aset don't push a frame, when they would call rb_hash to determine the hash value of the key, the initial level of recursion would incorrectly use the method id at the top of the stack instead of "hash". This commit replaces rb_exec_recursive_outer with rb_exec_recursive_outer_mid, which takes an explicit method id, so that we can make the hash calculation behave consistently. rb_exec_recursive_outer was documented as being internal, so I believe this should be okay to change. Notes: Merged: https://github.com/ruby/ruby/pull/6004 | |||
2013-11-26 | should not ignore the rest of recursive constructs | nobu | |
* array.c (rb_ary_hash): should not ignore the rest of recursive constructs. * hash.c (rb_hash_hash): ditto. * range.c (range_hash): ditto. * struct.c (rb_struct_hash): ditto. * test/-ext-/test_recursion.rb (TestRecursion): separate from test/ruby/test_thread.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e |