Module Name Resolution
Jason C. Wells via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Tue Oct 25 22:27:53 PDT 2016
Suddenly it occurs to me that the module namespace and the
filesystem namespace do not necessarily have a one for one match,
even though they do by default. When one specifies all the D
source files on the command line, any differences between the
module namespace and the filesystem namespace are handled
automagically by dmd. The "module" declaration is the code by
which the module namespace is manually defined.
Hence the repeated advice to supply all the filenames on the
command line.
More information about the Digitalmars-d-learn
mailing list