Symbol lookup rules and imports

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 8 14:30:08 PST 2014


On 12/8/2014 7:52 AM, H. S. Teoh via Digitalmars-d wrote:
> I realize that my understanding on the workings of dmd may not be quite
> accurate, and I apologize for any inadvertent misrepresentations, but
> the fact remains that the current behaviour of import is very
> counterintuitive, and users will continue having issues with it if the
> current state of things continue to hold.

I understand, my purpose on that post was to correct misunderstanding of how it 
currently works.

The two-step lookup method, of current scope then imports in current scope, is 
misunderstood by nearly everyone.


More information about the Digitalmars-d mailing list