[Modules] Name space semantics was: Re: Some of my thoughts
Les Tyrrell
tyrrell at canis.uiuc.edu
Fri Aug 17 16:31:24 UTC 2001
It is very definitely changed in VisualWorks- I use that in Oasis.
- les
Tim Rowledge wrote:
>
> Andreas Raab wrote:
>
>
>>No. Unfortunately not. What you see in the above (pushLit: Foo) pushes the
>>value (e.g., second field) of an object in the CMs literal frame. If you
>>look at the literals of the above method then you'll see that one of those
>>literals is the Association #Foo -> Foo and pushLit: goes right into the
>>value field (e.g., doesn't even bother to send #value to this association).
>>So there's no message send involved at execution time.
>>
> I'm pretty sure we changed that in VisualWorks (probably for 2.0 IIRC)
> ages ago; maybe Squeak should follow. It would allow a tad more
> flexibility, since other types of literal that respond to #value could
> be used; perhaps this would even help woth environments.
>
> tim
>
>
>
>
More information about the Squeak-dev
mailing list
|