[BUG] [FIX] GOODS doesn't store ColorArrays

Avi Bryant avi at beta4.com
Wed Sep 22 13:25:04 UTC 2004


On Sep 22, 2004, at 3:18 PM, John Pierce wrote:

> I noticed that 
> KKVariableFieldContainer>>writeVariablePartOfObject:onStream:
> is sending at: on an indexed object instead of basicAt:.  It just so
> turns out that ColorArray>>at: is re-implemented to return an instance
> of Color rather than the number representing the color -- causing all
> kinds of foul things for GOODS.

Thanks John.  This bug is actually pervasive in 
KKVariableFieldContainer - it needs to use
  #basicAt:put: and #basicSize as well.  This caused some problems with 
the (unfinished AFAIK) ports to Dolphin and VW, so I've been aware of 
it, but haven't gotten around to releasing a fix yet.

Avi




More information about the Squeak-dev mailing list