[Issue 16701] New: Remove Restriction of "package.d" Source File Module Forced to All Lowercase

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Nov 18 16:17:49 PST 2016


https://issues.dlang.org/show_bug.cgi?id=16701

          Issue ID: 16701
           Summary: Remove Restriction of "package.d" Source File Module
                    Forced to All Lowercase
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: sprink.noreply at gmail.com

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.

--


More information about the Digitalmars-d-bugs mailing list