From: ts Date: 2002-11-18T00:04:54+09:00 Subject: Re: sorting partially ordered objects in 1.7.3 fails >>>>> "M" == Mauricio =?iso-8859-1?Q?Fern=E1ndez?= writes: >> * object.c (rb_mod_cmp): should raise ArgumentError if >> inheritance/inclusion relation between two classes/modules is >> not defined. [new] M> But the relation is indeed defined in Joel's example, pigeon% ruby -ve 'class C;end;class C1 < C;end;class C2 < C;end; p C1 <=> C2' ruby 1.7.3 (2002-10-29) [i686-linux] nil pigeon% pigeon% /usr/bin/ruby -ve 'class C;end;class C1 < C;end;class C2 < C;end; p C1 <=> C2' ruby 1.6.8 (2002-11-09) [i686-linux] 1 pigeon% M> and the exception is not the same... Well, ruby send a NoMethodError in this case (nil don't reply to `>') Guy Decoux