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

Frank Shearar frank.shearar at gmail.com
Sat Apr 13 21:21:53 UTC 2013


>> 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

> - Bert -
>
>
>


More information about the Squeak-dev mailing list