[bug] Collection newWithAll: in 0.3.1

Brian Rice water at tunes.org
Wed Dec 15 18:45:51 PST 2004


On Dec 14, 2004, at 5:43 PM, Tim Olson wrote:
> The  ensureSlot:is:unlessSatisfies: should have handled this case, but 
> the equality test between the old traits delegateValues and the 
> newProto traits delegateValues fails because the order of the traits 
> is different:
>
> 	old: delegateValues: {#traits. #parent0}
> 	new: delegateValues: {#parent0. #traits}
>
> So it looks like we need to ensure that the delegateValues are 
> returned in a canonical order for this code to do the expected thing.

Ouch. I'll take a look at a fix for this.

--
Brian T. Rice
LOGOS Research and Development
http://tunes.org/~water/




More information about the Slate mailing list