We forgot to say that the motivation of this is that if we throw an error or take an assumption on how to resolve the conflict, plus some other changes we already done, we should be able to NOT use the Compiler at all when installing traits. The only place where we would still need the Compiler is when using Alias, but so far we have only ONE user in the image and it is TPureBehavior. Meaning that with this changes, in the 99.99% of the cases (it only uses Compiler when importing Traits with aliases) we can have kernels and boostraped images that can grow (even with traits) without the compiler.
On Mon, Aug 20, 2012 at 4:46 PM, Guillermo Polito <guillermopolito@gmail.com> wrote:
Trait named: #TAuses: {}category: 'ABC'
Trait named: #TBuses: {}category: 'ABC'
TA>>a� � ^10TB>>a� � ^10Object subclass: #Auses: TA + TBinstanceVariableNames: ''classVariableNames: ''poolDictionaries: ''category: 'ABC'==>A>>a� � ^self traitConflict?Why not an exception from a conflictive composition? This is to Mariano me a silent failure :/Or assume a resolution (like when selectors of classes have precedence over trait methods)�Guille--
Mariano
http://marianopeck.wordpress.com