www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 12986] New: keywords allowed in module names if no

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 puremagic.com
          Reporter: sigod.mail 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`.

--
Jun 24 2014