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





Attachment: TestDuplicateIVs.st
Description: Binary data

Reply via email to