On Mon, Jul 15, 2013 at 9:55 AM, Peter Alexander <peter.alexander.au@gmail.com> wrote:
On Monday, 15 July 2013 at 15:45:47 UTC, Timothee Cour wrote:And what if I compile it like this?
---- src/foo/bar.d:
// infers 'module foo.bar;' instead of 'module bar;'
void barfun(){}
----
---- src/main.d:
import foo.bar;
void main(){}
----
dmd -Isrc src/main.d
dmd -c src/foo/bar.d
dmd -c -Isrc src/main.d
// link later
I don't think this can work in general.