Odd compiler complaints with import declarations
Adam D. Ruppe
destructionator at gmail.com
Fri Sep 13 13:02:23 PDT 2013
On Friday, 13 September 2013 at 19:54:30 UTC, Orfeo wrote:
> "The name must include the relative path computed from the
> directory"
That statement isn't really true. The module name is what thef
ile has in the contents:
module foo.test;
near the top of the file gives it the name of foo.test. The
filename and directory path do *not* have to match and only
matter at all for finding the file. The module declaration is all
that matters.
More information about the Digitalmars-d-learn
mailing list