Bug 16701 – Remove Restriction of "package.d" Source File Module Forced to All Lowercase
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2016-11-19T00:17:49Z
Last change time
2022-07-25T12:01:58Z
Keywords
pull
Assigned to
No Owner
Creator
Sprink
Comments
Comment #0 by sprink.noreply — 2016-11-19T00:17:49Z
Right now you have to use "package.d", you can't use "Package.d" as an example. It feels out of place when all my folders and other D files are capitalized. I would like to use "Package.d" to match all my other files. The "package" name can still be unique, in that only one instance of "package.d" is allowed, regardless of letter-case. So having two files named "Package.d" and "package.d" in the same module package would be an error.
Comment #1 by dlang-bot — 2022-06-30T13:48:54Z
@dkorpel created dlang/dmd pull request #14260 "Fix 16701 - Remove Restriction of "package.d" Source File Module Forc…" fixing this issue:
- Fix 16701 - Remove Restriction of "package.d" Source File Module Forced to All Lowercase
https://github.com/dlang/dmd/pull/14260
Comment #2 by dlang-bot — 2022-07-25T12:01:58Z
dlang/dmd pull request #14260 "Fix 16701 - Remove Restriction of "package.d" Source File Module Forc…" was merged into master:
- 5866d05b7b8cd754df3e5e5fc031879e6637abe9 by Dennis Korpel:
Fix 16701 - Remove Restriction of "package.d" Source File Module Forced to All Lowercase
https://github.com/dlang/dmd/pull/14260