← Back to index
|
Original Bugzilla link
Bug 2330 – 'private' qualifier of import ignored with selective import
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2008-09-02T21:46:00Z
Last change time
2014-03-01T00:37:05Z
Assigned to
bugzilla
Creator
sean
Comments
Comment #0
by sean — 2008-09-02T21:46:02Z
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
Comment #1
by jarrett.billingsley — 2008-09-02T22:17:53Z
Yes, this one _still_ has not been fixed. Pretty disgusting. *** This bug has been marked as a duplicate of 314 ***