>> RGClassDescriptionDefinition should be polymorphic with >> ClassDescription. But #instVarNamed: is protocol of Object, so why to >> override it there? >> >> Concretely, I have instances of RGClassDefinition and I can't: >> >> 1) inspect them as regular objects >> 2) use STON to serialize >> >> Because both use #instVarNamed:, which is answering nil. >> > > To me it looks wrong for RGClassDefinition implementing #instVarNamed:.
probably (this is the question of layering) now it also means that we should have a look at the class protocol to access instance variables so that we have an Object API but also a good Class/RingClass API. Stef
