The module declaration is being ignored

Diffuse via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Wed Oct 8 15:28:24 PDT 2014


Okay I see what I'm doing wrong. While I can indeed declare a 
file's module to be whatever I like and in whatever package I 
like, this isn't going to work when that file is in a dub package 
that my program depends on because dub isn't sending those files 
to the compiler, they are only used for imports. So the only 
thing dub does is set the import path.


More information about the Digitalmars-d-learn mailing list