December 13, 2014 The package feature is ignored when the file name is package.di | ||||
---|---|---|---|---|
| ||||
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. |
December 13, 2014 Re: The package feature is ignored when the file name is package.di | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jeremy DeHaan | 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
|
Copyright © 1999-2021 by the D Language Foundation