[squeak-dev] Possible buggy senders of Class >> #category?

Marcel Taeumel marcel.taeumel at hpi.de
Fri Dec 13 18:26:00 UTC 2019


Hi Christoph,

no, the return value of "someClass category" should never be 'nil'. 

> but I guess it happened in the context of uniclasses.



Uniclasses should be stored in #UserObjects.

> Should we make the following change?

Please don't. Instead, make sure that after 
"ReleaseBuilder prepareSourceCode; clearCaches"
all those strange classes are either gone or fixed.

Best,
Marcel
Am 13.12.2019 19:13:12 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:
Hi all,

is it a valid state for a class's category to be nil? I recently got an error in Class >> #isDeprecated because [self category] was nil. Unfortunately, I cannot reproduce it, but I guess it happened in the context of uniclasses.

Should we make the following change?



Best,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191213/b2f832ba/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 7121 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191213/b2f832ba/attachment.png>


More information about the Squeak-dev mailing list