[squeak-dev] Error creating textual references to dropped morphs

Bert Freudenberg bert at freudenbergs.de
Tue Sep 6 15:55:25 UTC 2016


On Tue, Sep 6, 2016 at 6:22 AM, yakovdk <yakovdk at gmail.com> wrote:

> I am a Smalltalk newb


Welcome!


> It looked to me like the "ifFalse" branch fails to set the externalName
> variable, which makes it nil later on.  I changed it to read as follows,
> and
> it seems to work fine for me now:
>
>         (dropee isKindOf: TransferMorph)
>                 ifTrue: [reference := dropee passenger.
>                         externalName := dropee passenger className]
>                 ifFalse: [reference := dropee.
>                         externalName := dropee externalName].
>

That's exactly the right fix. I published it in "Tools-bf.725". If you are
using a trunk image you can load updates, otherwise it will be in the next
release.

Thank you!

- Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160906/da6111c3/attachment.htm


More information about the Squeak-dev mailing list