Packages / imports & references between modules
Robert M. Münch
robert.muench at saphirion.com
Sat Apr 27 14:58:01 UTC 2019
A/a.d has module A.a;
A/b.d has module A.b;
A/package.d
import A.a;
import A.b;
A.b needs to access something from A.a
I assumed if I do
import package.d
that A.b sees the content of A.a now and doens't need an explicit line with
a/b.d
import A.a;
But this doesn't seem to be the case. Or am I missing something?
--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster
More information about the Digitalmars-d-learn
mailing list