Identifier resolution, the great implementation defined mess.

deadalnix via Digitalmars-d digitalmars-d at puremagic.com
Mon Sep 22 13:27:51 PDT 2014


On Monday, 22 September 2014 at 09:17:16 UTC, Walter Bright wrote:
> It is depth first. It starts at the innermost scope, which is 
> the current scope. Somehow, we don't seem to be talking the 
> same language :-(
>

Depth first in the sense, go from the inner to the outer scope 
and look for local symbols. If that fails, go from the inner to 
the outer and look for imported symbols.


More information about the Digitalmars-d mailing list