[FIX] DependentsSizeFix-nk
ned at squeakland.org
ned at squeakland.org
Thu Mar 11 17:40:19 UTC 2004
"Change Set: DependentsSizeFix-nk
Date: 11 March 2004
Author: Ned Konz
I noticed in the ChangeSorter that if you add a postscript, then close
the editor window and try to remove the postscript that you can't.
Further examination showed that there is code in postscriptHasDependents
that says
self postscript dependents size > 0
which returned true even though the dependents slots had been nil'd out.
Though counting dependents is probably questionable, this change set
makes DependentsArray>>size report the number of actual dependents (i.e.
does not count nils).
"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DependentsSizeFix-nk.cs.gz
Type: application/octet-stream
Size: 610 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20040311/9451fc0d/DependentsSizeFix-nk.cs.obj
More information about the Squeak-dev
mailing list
|