We need an internal keyword.
Neia Neutuladh
neia at ikeran.org
Sun Oct 21 17:48:08 UTC 2018
On Sun, 21 Oct 2018 08:40:36 +0000, Laurent Tréguier wrote:
> This is by design; the D way of dealing with this would be to split the
> module into a package with multiple modules.
This is often a usable way of doing things, but sometimes not so much. If
you're writing a script for use with dub --single or rdmd, you lose a lot
of convenience if you use multiple files. It might also take a lot of time
to split things up once static constructors get involved.
More information about the Digitalmars-d
mailing list