[Cuis-dev] learned something interesting about installing packages
ken.dickey at whidbey.com
ken.dickey at whidbey.com
Sun Aug 18 13:44:53 PDT 2024
On 2024-08-18 12:31, Mark Volkmann via Cuis-dev wrote:
> If a package is installed that defines subclasses of classes that are
> defined in packages that have not been installed yet, their superclass
> will be changed to ProtoObject. No warning message about this will be
> displayed.
>
> For example, suppose the UI-Entry package is not installed.
> That defines the class TextEntryMorph.
> If I install a package that defines the following class
>
> TextEntryMorph subclass: #CenteredTextEntryMorph
>
> that will be changed to
>
> ProtoObject subclass: #CenteredTextEntryMorph --
As opposed to creating an error..
Good to see you are testing packages before releasing them on an
unsuspecting world. ;^)
When you see this, it is a reminder to have your shiny new package
_require_ the requisite packages.
HTH,
-KenD
More information about the Cuis-dev
mailing list