[Cuis-dev] learned something interesting about installing packages
Mark Volkmann
r.mark.volkmann at gmail.com
Mon Aug 19 13:43:18 PDT 2024
On Mon, Aug 19, 2024 at 2:11 PM Juan Vuletich <juan at cuis.st> wrote:
> On 8/18/2024 4:31 PM, 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
>
> --
> R. Mark Volkmann
> Object Computing, Inc.
>
>
> Just keep the Transcript open. You are warned about these kinds of issues
> there.
>
Thanks, I see that now. The message is:
"Attempt to create {subclass-name} as a subclass of nil.
Possibly a class is being loaded before its superclass."
--
R. Mark Volkmann
Object Computing, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240819/74ee96ba/attachment.htm>
More information about the Cuis-dev
mailing list