[ruby-cvs:51598] eregon:r44453 (trunk): * compar.c (cmp_eq_recursive): Fix the return value, the value for

eregon at ruby-lang.org eregon at ruby-lang.org
Sun Dec 29 07:28:40 JST 2013


eregon	2013-12-29 07:28:39 +0900 (Sun, 29 Dec 2013)

  New Revision: 44453

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44453

  Log:
    * 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.

  Modified files:
    trunk/ChangeLog
    trunk/compar.c


More information about the ruby-cvs mailing list