D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 16701 - Remove Restriction of "package.d" Source File Module Forced to All Lowercase
Summary: Remove Restriction of "package.d" Source File Module Forced to All Lowercase
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P3 enhancement
Assignee: No Owner
URL: http://dlang.org/
Keywords: pull
Depends on:
Blocks:
 
Reported: 2016-11-19 00:17 UTC by Sprink
Modified: 2022-07-25 12:01 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Sprink 2016-11-19 00:17:49 UTC
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 Dlang Bot 2022-06-30 13:48:54 UTC
@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 Dlang Bot 2022-07-25 12:01:58 UTC
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