[Issue 10022] New: Importing packages

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri May 3 14:17:08 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10022

           Summary: Importing packages
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: yebblies at gmail.com
        ReportedBy: yebblies at gmail.com


--- Comment #0 from yebblies <yebblies at gmail.com> 2013-05-04 07:17:08 EST ---
When an import resolves to a package, instead import a module inside the
package called 'package'.  Usual rules are then followed as if it was imported
explicitly.

When both a module and a package exist, the compiler gives an ambiguity error.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list