On 2/28/08, Klaus D. Witzel <klaus.witzel@cobss.com> wrote:
On Thu, 28 Feb 2008 09:12:10 +0100, Michael van der Gulik wrote:


> On 2/27/08, Klaus D. Witzel wrote:
>>
>> I want to give priority of a class' hierarchy's bindings over that of
>> (self environment) when the latter defaults to the Smalltalk global
>> dictionary (as is the case today in most images).
>>
>> Attached is a patch which supports SharedPool as it was introduced in
>> -
>> http://lists.squeakfoundation.org/pipermail/squeak-dev/2003-May/058391.html
>>
>
> The patch looks good to me. I especially like how you refer to Smalltalk
> as "nil environment".

:)

> I modified this code to get Namespaces resolving right.


Did you mean this like, you adapted it to your Namespaces. If not, can you
elaborate a bit, TIA.


Actually, on closer inspection, I didn't modify the method except to remove shared pools, which can be implemented using Namespaces anyway.

In my Namespaces, "aClass environment" returns the local namespace.

Gulik.


--
http://people.squeakfoundation.org/person/mikevdg
http://gulik.pbwiki.com/