Unloading MC packages cleanly (was Re: [squeak-dev] The Inbox: System-fbs.523.mcz)

Bert Freudenberg bert at freudenbergs.de
Sat Apr 13 21:48:04 UTC 2013


On 13.04.2013, at 14:21, Frank Shearar <frank.shearar at gmail.com> wrote:

>>> On 13 April 2013 19:27, Bert Freudenberg <bert at freudenbergs.de> wrote:
>> 
>> For (a), possibly MCPackage>>unload needs to do something extra, or your #unloadPackages: would need to do something extra per package. E.g. unloading a package should remove that package's categories, both for classes and extension methods. If it doesn't, that needs to be fixed.
> 
> It looks, from a casual test, that "unload package" in a
> MCWorkingCopyBrowser does _not_ remove empty: I made a category Foo,
> addad to it a class Foo, went to a different package and added a *Foo
> category to some random class and added a method. After unloading, the
> method's gone but the *Foo category remains.
> 
> frank


Yep. I always found that annoying ... MCCategoryDefinition is a weird beast IIRC.

- Bert -




More information about the Squeak-dev mailing list