[Issue 12986] New: keywords allowed in module names if no ModuleDeclaration is used

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Jun 24 14:36:03 PDT 2014


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

          Issue ID: 12986
           Summary: keywords allowed in module names if no
                    ModuleDeclaration is used
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: DMD
          Assignee: nobody at puremagic.com
          Reporter: sigod.mail at gmail.com

Related to: https://issues.dlang.org/show_bug.cgi?id=456
I opened new issue because old one was about D1.

I suggest that:
1. Or keywords must be disallowed for module names completely.
2. Or documentation must be modified to explain "hidden" feature. Actually
currently it speaks only about package names.

In issue 456 was said that this change will break some of phobos' modules. Now
as I see it will only break `unittest.d`.

--


More information about the Digitalmars-d-bugs mailing list