[squeak-dev] how to protocol removal

Jakob Reschke forums.jakob at resfarm.de
Mon Oct 5 19:29:48 UTC 2020


Hi,

What about a preamble script to remove the existing class or methods?

Though it does not sound like a good idea to me if the interface is
not compatible. It will probably break other stuff in the image.

Kind regards,
Jakob

Am So., 4. Okt. 2020 um 19:41 Uhr schrieb rabbit
<rabbit at churchofthesacrifice.org>:
>
> I have a package PromisesLocal which redefines a trunk class, Promise.
> There is some old protocol from trunk Promise which remains as part of
> the new definition and this is breaking tests (,
> Promise>>#whenResolved:, Promise>>#whenBroken:). Is there a way with
> Monticello or loading where I can remove this protocol? Or a better
> question is how to best remove this protocol when loading a Monticello
> package?
>
> K, r
>
>
>


More information about the Squeak-dev mailing list