On Dec 2, 2008, at 17:23 , Hilaire Fernandes wrote:
it looks like traits can be removed with just writing "uses: {}"
yes, that is the expected way to do it.
Better check some documentation
does this resolve your problem? Adrian
Hilaire
2008/12/2 Hilaire Fernandes <hilaire@ofset.org>:
Okay, recheck with a fresh 10185, I can't remove the trait from my class. What I do, from OB I change the class definition (remove the line with the trait) then save. The trait just gets back. Is it the right way to do it?
Which paper is appropriate to read, I saw several references in the squeak wiki?
Hilaire
2008/12/2 Adrian Lienhard <adi@netstyle.ch>:
Hi Hilaire,
Which UI tools do you use? Omnibrowser or the old browser that is shipped with the Core image. Could you try to reproduce the problem in a newer version of Pharo? (10050 is *very* old).
I'd like to take a look then. It's strange because we have been using traits for two years now without seeing this problem. So it may indeed be a problem related to the UI that somehow brings traits into an inconsistent state.
Adrian
On Dec 2, 2008, at 11:08 , Hilaire Fernandes wrote:
I can't remove a trait from a class using UI tools. (pharo 10050) How can I remove it programmatically ?
Next with this same class, message from this trait are not reachable, the MNU is raised but the hierarchy is not right as IFIETayage1 is not a subclass of IFIExoMorph. However IFIExoMorph is using the same trait as IFIEtayage. It looks like there is mismatch in the classes with traits. (see screenshot)
Now I realize my last istoa release suffer from this problem :)
Hilaire
-- http://blog.ofset.org/hilaire <bug-trait.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- http://blog.ofset.org/hilaire
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project