digitalmars.D.bugs - [Issue 880] New: private imports not honored
- d-bugmail puremagic.com (30/30) Jan 23 2007 http://d.puremagic.com/issues/show_bug.cgi?id=880
- d-bugmail puremagic.com (9/9) Jan 24 2007 http://d.puremagic.com/issues/show_bug.cgi?id=880
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'.
--
Jan 23 2007
http://d.puremagic.com/issues/show_bug.cgi?id=880
thomas-dloop kuehne.cn changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
*** This bug has been marked as a duplicate of 313 ***
--
Jan 24 2007








d-bugmail puremagic.com