<div dir="ltr"><div>__________<div><i>“If a is equal to b and b is equal to c, then a is equal to c.”</i><br></div></div>__________<div><br></div><div>| a b c |<br>a := Fraction numerator: 5 denominator: 1.<br>b := 5.0.<br>c := 5.<br>self assert: a=b; assert: b=c.   "Pass"<br>self assert: a=c.    "Fail"<br></div><div>__________<br></div><div><div><br></div><div>I understand this is not a normal way to create Fractions, but serializers must often construct objects in other-than-normal ways.  This constructor on Fraction is actually a valid API, but leaves an inconsistent comparison contract with other Numbers.<br></div></div><div><br></div><div>I fixed it by reverting Fraction>>#= to the (nice 3/28/2006 23:41) edition.<br><br>Comments?</div><div><br></div></div>