since groups is an instance variable on the class side Nautilus class instVarNames -> #('maxSize' 'cachedLastClasses' 'groups') ok we get the instance variables so it was strange that the class could not find the instance variable using instVarNamed: Nautilus class instVarNamed: 'groups' -> error I was confused. 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...