This is weird, I'm not seeing the problem at all!
On Sun, Sep 23, 2012 at 6:55 PM, St�phane Ducasse <stephane.ducasse@inria.fr> wrote:
since groups is an instance variable on the class side
ok we get the instance variables
Nautilus class instVarNames
� � � � -> �#('maxSize' 'cachedLastClasses' 'groups')
so it was strange that the class could not find the instance variable using instVarNamed:
I was confused.
Nautilus class instVarNamed: 'groups'
� � � � -> error
Looks strange to me as well. I would like that it actually works :)�
Stef
On Sep 23, 2012, at 5:42 PM, Camillo Bruni wrote:
>
> On 2012-09-23, at 17:38, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:
>
>> On a class, should answer the inst of the corresponding metaclass
>>
>> Like when you ask the inst var of an instance, you get the inst var of the corresponding class
>>
>> Ben
>
> but that works...., I don't get it :D
>
>
>
> Nautilus instVarNamed: #maxSize
> Nautilus new instVarNamed: #announcer
>
> and:
>
> Nautilus class instVarNames includes: #maxSize.
> Nautilus instVarNames includes: #announcer.
>
>
> everything fine and symmetrical here...
--
Mariano
http://marianopeck.wordpress.com