module renaming by declaration

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Mar 19 09:20:38 PDT 2016


On Saturday, 19 March 2016 at 16:02:33 UTC, Christof Schardt 
wrote:
> What am I doing wrong?

Using rdmd. It assumes the filename will match the module name to 
locate the file, though the language itself doesn't require this.

What you want to do to make this work is use ordinary dmd and 
pass both files to it at the same time:

dmd aaa.d test.d

and it will work then.


More information about the Digitalmars-d-learn mailing list