January 24, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=880

           Summary: private imports not honored
           Product: D
           Version: 1.001
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: tomas@famolsen.dk


I would think this would fail, but it doesn't:

--------------------------
module c;
void f() {
}
--------------------------
module b;
import c;
--------------------------
module a;
import b;
void main() {
    c.f();
}
--------------------------

just using 'f()' instead of 'c.f()' works as it should giving the error:
'undefined identifier f'.


-- 

January 24, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=880


thomas-dloop@kuehne.cn changed:

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




------- Comment #1 from thomas-dloop@kuehne.cn  2007-01-24 02:09 -------


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


--