Project

General

Profile

« Previous | Next » 

Revision 7e978b10

Added by Eregon (Benoit Daloze) over 10 years ago

  • compar.c (cmp_eq_recursive): Fix the return value, the value for
    failed #<=> should be nil. It was raising a NoMethodError for
    the test case TestComparable#test_no_cmp (undefined method `>'
    for false:FalseClass). Yet one more reason for #7688.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e