[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] [commit] Color-==

This should not be committed unless you also override hash.
It is required that whenever you override ==, you must override hash such that things that compare equal have an equal hash.

On Jan 4, 2006, at 12:52 PM, Till Bovermann wrote:

Hey all,

could someone please checkin

+ Color {
	== {|that|
		^(that.respondsTo(#[\red, \green, \blue])
			and: {(this.red  == that.red)
			and: {this.green == that.green}
			and: {this.blue  == that.blue}

to Color?

thanx in advance

may I ask for an sc dev account?
sc-dev mailing list