October 25, 2006
http://d.puremagic.com/issues/show_bug.cgi?id=455

           Summary: DMD accepts illegal identifiers in module names if no
                    ModuleDeclaration is used
           Product: D
           Version: 0.170
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Keywords: accepts-invalid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: thomas-dloop@kuehne.cn


sample:

dmd 3/4/a.d


-- 

March 29, 2009
http://d.puremagic.com/issues/show_bug.cgi?id=455


unknown@simplemachines.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |unknown@simplemachines.org
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




------- Comment #1 from unknown@simplemachines.org  2009-03-28 22:55 -------
As far as I understand, DMD strips off path names (flattening all passed files
to the same package.)

From the documentation:

"The ModuleDeclaration sets the name of the module and what package it belongs to. If absent, the module name is taken to be the same name (stripped of path and extension) of the source file name."

Marking as invalid, with the assumption that someone will come and verify.  I did see a case where DMD accepts an invalid filename, but it's a separate issue.

-[Unknown]


--