[Pharo-dev] Duplicate IVs | Bug or feature?

Luc Fabresse luc.fabresse at gmail.com
Mon Nov 4 05:32:41 EST 2013


2013/11/4 Luc Fabresse <luc.fabresse at gmail.com>

>
> perhaps related to the new object layout.
>

arg no, not in 2.0 I guess

Luc


>
> Luc
>
> 2013/11/4 Noury Bouraqadi <bouraqadi at gmail.com>
>
>> Hi,
>>
>> In Pharo2.0  #20625 it's possible to create two classes, one inheriting
>> from the other, and declaring the exact same IV (attached code).
>> It turns out that instances of the subclass hold two IVs with the exact
>> name.
>> When accessing the IV in the superclass, the first IV is used, while in
>> the subclass the second IV is accessed.
>>
>> Bug or feature?
>>
>> Noury
>> Ecole des Mines de Douai
>> http://car.mines-douai.fr/noury
>> --
>>
>>
>>
>>
>>
>>
>> Afin de contribuer au respect de l'environnement,
>>
>>
>> merci de n'imprimer ce courriel qu'en cas de necessite
>>
>>
>>
>>
>>
>> Please consider the environment before you print
>>
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20131104/cfa176ee/attachment-0002.html>


More information about the Pharo-dev mailing list