yep this sounds about right.
... otherwise we have to start override #class as well ;)

On 2013-09-18, at 06:18, Martin Dias <[email protected]> wrote:

> Hi,
> 
> In the attached png I show how 'annotations' is a dictionary in the
> "all inst vars" entry, while it is nil in the 'annotations' entry.
> 
> The reason is that #instVarNamed: is redefined in
> RGClassDescriptionDefinition to answer the
> RGInstanceVariableDefinition representing the requested instance
> variable of the *represented class* (or nil if there is no instance
> variable with that name).
> 
> I know that a purpose of ring entities is to be polymorphic with the
> represented system entities. But #instVarNamed: is protocol of Object,
> not of Class or ClassDescription.
> 
> I you agree I will open an issue and submit a fix:
> 
> To rename the method in RGClassDescriptionDefinition to
> #instanceVariableNamed: and update the test.
> 
> Martín
> <Screen Shot 2013-09-18 at 10.57.18 AM.png>

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to