Global Imports in DMD not working?

Hasan Aljudy hasan.aljudy at gmail.com
Sun Jan 7 16:54:38 PST 2007


Trevor Parscal wrote:
> I've been getting annoyed with this lately...
> 
> a imports b, which imports c, but a still can't access anything in c...
> 
> Anybody else notice this?
> 
> I'm using dmd 1.0

imports are private by default, i.e. they don't propogate.
use public imports, i.e. in b, say:
public import c;
this way, any module that imports b automatically imports c.



More information about the Digitalmars-d mailing list