ara.t.howard | 15 May 07:05

Re: Method lookup for modules included in modules


On May 14, 2008, at 8:29 PM, Mark Wilden wrote:

>
> Here's my problem. If A1 doesn't contain the method, what causes the  
> search to backtrack to the B proxy and follow its super pointer to  
> the C proxy? This "backtracking" seems counter to the purported  
> "linear" lookup order. (This is just a conceptual problem for me -  
> it's obvious what the lookup order is, and it's easy to verify.)

as each module in included in the target, it's entire lookup chain is  
added to that target - therefore no 'backtracking' is required, we  
just end up with a long line that, when followed, happens to give the  
appearance if backtracking.

a @ http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama


Gmane