[BUG][Modules] Finding class Project

Hannes Hirzel hirzel at spw.unizh.ch
Wed Feb 20 16:45:35 UTC 2002


On Wed, 20 Feb 2002, Henrik Gedenryd wrote:

> Hannes Hirzel wrote:
> 
> > Hi
> > 
> > When trying to find the class Project in the SystemBrowser I get a
> > walkback.
> > 
> > The following works
> > TextMorph category  'Morphic-Core-Basic'
> > Project category 'Technology-Support'
> > 
> > But not 
> > Browser>>selectCategoryForClass: theClass
> > 
> > Regards
> > Hannes Hirzel
> 
> 
> I don't get this error. Also the code in findClass explicitly checks that
> the found definition is a class--it's not like I didn't get this bug myself
> back in the day ;-)
> 
> Browser>>findClass
> <snip>
>     foundClass _ 
>         Module root allDefinitionsFor: (classNames at: index) asSymbol
>             onlyExported: false detect: [:value :module | value isBehavior].
>      self selectCategoryForClass: foundClass.
>     self selectClass: foundClass
> 
> So what do you do to produce this bug?

I retested it and found out that at the time of writing the [Bug] report
I used Squeak 3.3a-4730. With the version 3.3a-4744 the bug is gone.

Sorry for not giving the change set number in the first place.
You obviously have fixed it meanwhilem. Thanks you!

As I learned from your answer to Alexandre there is a module called
#Project as well as the class called #Project. Do you plan to unify
these two in the future?


Regards
Hannnes Hirzel




More information about the Squeak-dev mailing list