Flat module import namespace causing collisions

Andrej Mitrovic andrej.mitrovich at gmail.com
Thu Feb 16 06:52:49 PST 2012


Nothing breaks, the library module has to have a module name.

\lib\blah.d:
module lib.blah;

\blah.d:
module blah;
import lib.blah;
void main() { }

$ rdmd blah.d

works fine.


More information about the Digitalmars-d mailing list