--000e0cd14494d113c50463c6d60a
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

2009/2/25 Gary Wright <gwtmp01 / mac.com>

>
> On Feb 25, 2009, at 5:28 PM, Charles Oliver Nutter wrote:
>
>>
>> Yes, sounds like you're thinking along the same lines I am..."SEL_CALL"
>> node that knows how to do namespace searching in addition to type hierarchy
>> searching.
>>
>
> During this modified method lookup process...
>
> ...would namespace modules be searched before/after the object's singleton
> class?


singletons would win.


> ...would super in a singleton method search any namespace modules (if the
> singleton
>   class was searched before namespace modules)?


since it is lexically scoped, it would depend on where the singleton method
was defined.


> ...would namespace modules be searched before/after the singleton hierarchy
> (for classes)?


good question. it should probably work like any object...


> ...would super in a method defined in a namespace module search any
> 'nested' namespaces?


remember that namespaces are lexical. Once you exit the lexical scope, super
reverts to its normal meaning.


>
>
> I don't have an opinion at the moment as to what might be the right answer
> to those
> questions but I think any proposal would need to address those questions.
>
> Gary Wright
>



-- 
Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325

--000e0cd14494d113c50463c6d60a
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class="gmail_quote">2009/2/25 Gary Wright <span dir="ltr">&lt;gwtmp01 / mac.com&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
On Feb 25, 2009, at 5:28 PM, Charles Oliver Nutter wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Yes, sounds like you&#39;re thinking along the same lines I am...&quot;SEL_CALL&quot; node that knows how to do namespace searching in addition to type hierarchy searching.<br>
</blockquote>
<br></div>
During this modified method lookup process...<br>
<br>
...would namespace modules be searched before/after the object&#39;s singleton class?</blockquote><div><br>singletons would win.<br>/div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
...would super in a singleton method search any namespace modules (if the singleton<br>
 class was searched before namespace modules)?</blockquote><div><br>since it is lexically scoped, it would depend on where the singleton method was defined.<br>/div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
...would namespace modules be searched before/after the singleton hierarchyfor classes)?</blockquote><div><br>good question. it should probably workike any object...<br>/div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
...would super in a method defined in a namespace module search any &#39;nested&#39; namespaces?</blockquote><div><br>remember that namespaces are lexical. Once you exit the lexical scope, super reverts to its normal meaning.<br>
/div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
I don&#39;t have an opinion at the moment as to what might be the right answer to those<br>
questions but I think any proposal would need to address those questions.<br><font color="#888888">
<br>
Gary Wright<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Yehuda Katz<br>Developer | Engine Yard<br>(ph) 718.877.1325<br>

--000e0cd14494d113c50463c6d60a--