[dmd-internals] Odd lookup bug

Andrei Alexandrescu andrei at erdani.com
Sat Nov 12 18:29:20 PST 2011


On 11/12/11 8:22 PM, Walter Bright wrote:
> No, but std.file imports about everything else in Phobos, and there are
> many imports conditioned upon unittest.

No public imports are ever conditioned upon unittest, so this is really 
about a bug that has been discussed a short time ago: importing a module 
gives you surreptitious access to that module's private imports.

Andrei


More information about the dmd-internals mailing list