thisContext question
Avi Bryant
avi at beta4.com
Sun Apr 28 19:09:43 UTC 2002
On Sun, 28 Apr 2002, Avi Bryant wrote:
> > That is why the sender is nil, because the object that sent the
> > message 'run' WAS the nil object.
>
> No, you're confusing sender and receiver. The receiver is indeed nil, the
> sender is shown as nil because it's been nilled out when the context
> returned.
Sorry, that wasn't said very well. When inside "Test run" evaluated from
a workspace, "thisContext sender receiver" is what's nil. "thisContext
receiver" is of course Test.
More information about the Squeak-dev
mailing list
|