Cannot get rid of a trait from classes - help!

Andreas Raab andreas.raab at gmx.de
Wed Dec 12 05:58:38 UTC 2007


You need to compile this as:

Object subclass: #MyClass
	uses: {}
	instanceVariableNames: ''
	classVariableNames: ''
	poolDictionaries: ''
	category: 'cat'

(e.g., it needs an empty uses: clause instead of an absent one)

Cheers,
   - Andreas

itsme213 wrote:
> I have some classes that initially used a trait MyTrait. Then I deleted the 
> trait (figured I could do it better without in this case). Now those classes 
> show up as:
>     Object subclass: #MyClass
>         uses: AnObsoleteMyTrait
>         instanceVariableNames: ''
>         classVariableNames: ''
>         poolDictionaries: ''
>         category: 'cat'
> 
> And if I delete the "uses:..." line and try to accept, it just reverts back 
> to the "AnObsoleteTrait" version.
> 
> Any suggestions welcome!
> 
> Thanks - Sophie 
> 
> 
> 
> 
> 




More information about the Squeak-dev mailing list