>> 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

I didn't understand what you said.

I think this is false polymorphism here:

Object >> instVarNamed:
   ---> answers the value of the inst var (or raises an error if it
doesn't exist)

RGClassDescriptionDefinition >> instVarNamed:
   ---> answers a RGInstanceVariableDefinition (or nil if it doesn't exist)

Martín

Reply via email to