1) Browse the example Trait1� and you will see methods like:
Trait1 >> c
��� ^ 'Trait1>>c'
and:
Trait1 >> c1
��� ^ 'Trait1>>c1'
2) Now, execute "Trait1 initialize"
3) BOOM. Trait1 has no longo any method. In the browse they are shown like:
Trait1 >> c
��� "This method does not exist."
��� self halt.
Trait2 >> c1
��� "This method does not exist."
��� self halt.
....
If I see Trait >> initialize
��� super initialize.
��� classTrait := ClassTrait for: self
and then ClassTrait for:
��� "This method does not exist."
��� self halt.
wtf ??�� that method is removed? this even happens before doing Trait1 initialize.
so...any idea?
--
Mariano
http://marianopeck.wordpress.com