[squeak-dev] Re: Recent MC doesn't support loading classes with nil superclass?

Andreas Raab andreas.raab at gmx.de
Fri Sep 25 07:08:09 UTC 2009


I have no answer to the MC question but out of curiosity, why do you 
need a nil subclass? Wouldn't a ProtoObject subclass do?

Cheers,
   - Andreas

Igor Stasenko wrote:
> Tested both in Pharo-Core & Squeak trunk image.
> 
> The class i defined is:
> 
> ProtoObject subclass: #BBBNameOfSubclass
> 	instanceVariableNames: ''
> 	classVariableNames: ''
> 	poolDictionaries: ''
> 	category: 'NILSuperClass'.
> BBBNameOfSubclass superclass: nil
> 
> In attachment you can fin the fileout of it.
> And MC package, saved with it.
> 
> If you try load the package, MC will display warning that you should
> resolve dependencies 'nil' before loading the class ;)
> 
> Background:
> I wanted to migrate to newer image and saved my package, im working
> on, which i didn't touched for 3-4 months,
> and found that it can't be loaded :(
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pharo-project mailing list
> Pharo-project-bM+ny+RY8h+a+bCvCPl5/gCzwTLBPCX0 at public.gmane.org
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




More information about the Squeak-dev mailing list