sq 3.9 compiledmethod #sourceClass and #methodClass

tim Rowledge tim at rowledge.org
Tue Oct 10 05:33:03 UTC 2006


On 9-Oct-06, at 10:08 PM, Philippe Marschall wrote:

> 2006/10/10, tim Rowledge <tim at rowledge.org>:
>> There is one bit of confusion that seems to be related to the use of
>> Traits though -
>> (SystemNavigation default allMethodsNoDoitsSelect:[:cm|
>>                 (cm sourceClass == cm methodClass) not ]
>> produces a list of methods where the two messages produce different
>> results. It seems that for example
>> Behavior >> #isLocalAliasSelector:
>> has a methodClass of 'Behavior' as one might expect but a sourceClass
>> of ' TAccessingTraitCompositionBehavior' which I wouldn't expect.  
>> Why?
>
> Because its a method of a trait?
Well, sure it's a trait but I don't see why that would be a good  
reason for such a split. I might well just be a side effect of the  
introduction of method properties for example.

tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Decafalon (n.): The grueling event of getting through the day  
consuming only things that are good for you.





More information about the Squeak-dev mailing list