Okay, I'm trying to figure out how to take multiple .d files and use a single 
.di 
file for them. It looks like if you have x.di file with a corresponding x.d 
file 
(so, only one .d file), you put package x; at the top of both files, and dmd is 
able to deal with it, knowing that the .d file holds the implementation for the 
.di file. But what about multiple .d files? I very much doubt that you can put 
package x; at the top of several .d files and have dmd be happy with you. You 
can't do that normally, but maybe you can do that if you have a .di file?

Or is the solution to have a single .d file which corresponds to the .di file 
and 
havie it publicly import the other .d files?

Or is the solution something else entirely?

- Jonathan M Davis

Reply via email to