struct.c (rb_struct_equal, rb_struct_eql): Handle comparison of recursive structures [ruby-core:24759]
range.c (range_eq, range_eql): ditto for ranges -- test for r25010
test/ruby/test_struct.rb (TestStruct#test_comparison_when_recursive): new test.
test/ruby/test_range.rb (TestRange#test_comparison_when_recursive): new test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
merges r25010 from trunk into ruby_1_9_1 and adds tests for it.¶
struct.c (rb_struct_equal, rb_struct_eql): Handle comparison of recursive structures [ruby-core:24759]
range.c (range_eq, range_eql): ditto for ranges
--
test for r25010
test/ruby/test_struct.rb (TestStruct#test_comparison_when_recursive):
new test.
test/ruby/test_range.rb (TestRange#test_comparison_when_recursive):
new test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@25943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e