www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 2330] New: 'private' qualifier of import ignored with selective import

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2330

           Summary: 'private' qualifier of import ignored with selective
                    import
           Product: D
           Version: 1.034
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla digitalmars.com
        ReportedBy: sean invisibleduck.org


module a;
void hidden() {}

module b;
private import a : hidden;
void visible() { hidden(); }

module c;
import b;
void main() { hidden(); } // works, but should trigger compile error


-- 
Sep 02 2008
parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=2330


jarrett.billingsley gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Comment #1 from jarrett.billingsley gmail.com  2008-09-02 22:17 -------
Yes, this one _still_ has not been fixed.  Pretty disgusting.

*** This bug has been marked as a duplicate of 314 ***


-- 
Sep 02 2008