The package feature is ignored when the file name is package.di
Jonathan M Davis via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Dec 13 01:58:48 PST 2014
On Saturday, December 13, 2014 02:34:21 Jeremy DeHaan via Digitalmars-d-learn wrote:
> Is this on purpose? Granted, I almost never use interface files,
> but I had a whim to use them for what I was working on today.
>
> Everything worked fine when I renamed the file to package.d, but
> apparently package.di is not acceptible.
It probably was never considered. But given that all that's really supposed
to be put in a package.d file is public imports, it's not like supporting
package.di really adds much, though arguably it should work for
consistency's sake.
- Jonathan M Davis
More information about the Digitalmars-d-learn
mailing list