Packages / imports & references between modules

Adam D. Ruppe destructionator at gmail.com
Sat Apr 27 15:06:01 UTC 2019


On Saturday, 27 April 2019 at 14:58:01 UTC, Robert M. Münch wrote:
> 	import A.a;

`import` by itself is a private import, meaning it cannot be seen 
from outside the module.

Make it `public import` and it can be seen from the outside; the 
other modules importing it can access them too.


More information about the Digitalmars-d-learn mailing list