[squeak-dev] [BUG] Browsing uniclasses

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Feb 24 13:50:29 UTC 2020


Hi Marcel,


but it should not be a big task to support them, should it? After fixing #hasClassSelected, I could compile and categorize methods as usual ...


Best,

Christoph

________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel
Gesendet: Montag, 24. Februar 2020 14:42:26
An: John Pfersich via Squeak-dev
Betreff: Re: [squeak-dev] [BUG] Browsing uniclasses

Hi Christoph,

uniclasses do not show up in the System Browser; they are not supported there. Yes, there can be strange behavior if you still try to. :-)

Best,
Marcel

Am 24.02.2020 14:37:44 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:

Hi all,


there is another small bug IWLT fix for the release:


[cid:aa5eb5d7-bdf8-4287-ab79-d2f540ce587e]


The message [category] list is empty.


At first glance, Browser >> #hasClassSelected is erroneous because it hardcodes Smalltalk instead of the displayed environment:


hasClassSelected

^ selectedClassName notNil and: [(Smalltalk classNamed: selectedClassName) notNil]

Is my assumption correct that there should be almost zero references to Smalltalk in Browser & Co.?
Now I have to ask the question of whether you should use self environment or self selectedEnvironment here. What's the difference?

Best,
Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200224/f11ab3ee/attachment.html>


More information about the Squeak-dev mailing list