yes I know. instVarNamed: is implemented on Object this is why it looks into the object class. but reimplementing on Class would make sense. Stef On Sep 23, 2012, at 2:06 PM, Benjamin wrote:
It's not a class var, it's an inst var of the meta class
Ben On Sep 23, 2012, at 1:27 PM, Igor Stasenko wrote:
On 23 September 2012 12:16, Stéphane Ducasse <stephane.ducasse@inria.fr> wrote:
may be this is too early but I wanted to change the value of a class instance variable
Nautilus class instVarNames -> #('maxSize' 'cachedLastClasses' 'groups')
Nautilus class instVarNamed: 'groups' -> error
Nautilus instVarNamed: 'groups' worked
I found that strange and inconsistent. I'am wrong?
nope. i never tried to access class instance vars using this.. but it is strange, it should work.
Stef
-- Best regards, Igor Stasenko.