www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 17629] New: package.di files cannot be used

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

          Issue ID: 17629
           Summary: package.di files cannot be used
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: eyal weka.io

Unlike other .d files, package.d files cannot have interface-file counterparts.

if a/package.d exists, "import a" works.
if a/package.di exists, "import a" does not work.

If both exist, the latter is ignored.

--
Jul 09 2017