https://issues.dlang.org/show_bug.cgi?id=24668 --- Comment #1 from dave287091 at gmail.com --- I think the fix is to just set the module name to the import path. In other words `a/foo.c` implies a `module a.foo;` declaration. --