[squeak-dev] colorful Problem

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Mon Mar 16 22:34:18 UTC 2020


Because magenta is also in Color orderedCrayonColorNames

Le lun. 16 mars 2020 à 20:01, Thiede, Christoph <
Christoph.Thiede at student.hpi.uni-potsdam.de> a écrit :

> In Squeak 5.3:
>
>
> colors := Color colorNames asBag.
> colors asSet select: [:color | (colors occurrencesOf: color) > 1]. "a
> Set(#magenta)"
>
> ------------------------------
> *Von:* Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im
> Auftrag von Ralph Boland <rpboland at gmail.com>
> *Gesendet:* Samstag, 14. März 2020 22:38:23
> *An:* squeak-dev at lists.squeakfoundation.org
> *Betreff:* Re: [squeak-dev] colorful Problem
>
> On 14/03/20 7:55 AM, Ralph Boland wrote:
> >> Note that  Color colorNames size = 128
> >>
> >> but:  Color colorNames asSet size  = 84
>
> > Which vm and image is this result from?
>
> I>  couldn't replicate it on linux vm + 5.3-19431 release.
>
> > Regards .. Subbu
>
> I went back to my original image but couldn't reproduce
> the problem there (appologies for not doing this in the first place).
>
> The problem is from a method I created to name the crayon colors
> which wern't properly named when first released.  I made
> Color>>initialize invoke this method and it got invoked even though
> it is no longer necessary.  I have now removed this method.
>
> Apologies again.
>
> Ralph Boland
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200316/0845485f/attachment.html>


More information about the Squeak-dev mailing list