Bug 880 – private imports not honored

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2007-01-23T23:36:00Z
Last change time
2014-02-16T15:24:06Z
Assigned to
bugzilla
Creator
tomas

Comments

Comment #0 by tomas — 2007-01-23T23:36:31Z
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'.
Comment #1 by thomas-dloop — 2007-01-24T02:09:19Z
*** This bug has been marked as a duplicate of 313 ***