As a solution I was planning to redefine Behavior>>addTraitSelector, TraitBehavior>>addTraitSelector and then redefine it TPureBehavior then remove Behavior>>addTraitSelector, TraitBehavior>>addTraitSelector I imagine that it can work now I will try to see Stef On Jan 4, 2010, at 8:54 PM, Stéphane Ducasse wrote:
Igor when I try to recompile TPureBehavior>>addTraitSelector:
I get a DNU Array>>createMethod:header: because the system uses itself when I add a method to a trait.
This morning I did something and it worked but now I do not remember and I'm thinking how to turn around the problem. Do you have an idea?
Stef
methodAndNode := self compile: source classified: nil notifying: nil trailer: self defaultMethodTrailer ifFail: [^nil].
??
yup.
-- Best regards, Igor Stasenko AKA sig. _______________________________________________ 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