[squeak-dev] References to classes showing twice?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] References to classes showing twice?

Andreas.Raab
Hi -

I noticed that when one browses the references to classes, all the
methods seem to show up twice now. I'm suspecting this is related to the
latest CompiledMethod changes. I could trace the problem to
Behavior>>allCallsOn which is implemented as:

allCallsOn
        "Answer a SortedCollection of all the methods that refer to me by name
or as part of an association in a global dict."
        ^(self  systemNavigation allCallsOn:  (self environment associationAt:
self theNonMetaClass name)), (self  systemNavigation allCallsOn:  self
theNonMetaClass name)

This seems to be returning the same results for both queries. Any ideas?

Cheers,
   - Andreas

Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] References to classes showing twice?

Eliot Miranda-2


Eliot (phone)

On 7 Sep 2009, at 15:29, Andreas Raab <[hidden email]> wrote:

> Hi -
>
> I noticed that when one browses the references to classes, all the  
> methods seem to show up twice now. I'm suspecting this is related to  
> the latest CompiledMethod changes. I could trace the problem to  
> Behavior>>allCallsOn which is implemented as:
>
> allCallsOn
>    "Answer a SortedCollection of all the methods that refer to me by  
> name or as part of an association in a global dict."
>    ^(self  systemNavigation allCallsOn:  (self environment  
> associationAt: self theNonMetaClass name)), (self  systemNavigation  
> allCallsOn:  self theNonMetaClass name)
>
> This seems to be returning the same results for both queries. Any  
> ideas?
>

Some of the SystemNavigation methods need to use sets since a method  
refers to it's selector.  I've fixed this in the Qwaq codebase. Will  
upload fixes soon.

> Cheers,
>  - Andreas
>