Bug 3275 – Private selective imports are visible in another module

Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
Other
OS
Windows
Creation time
2009-08-31T10:52:00Z
Last change time
2015-06-09T01:28:08Z
Keywords
accepts-invalid
Assigned to
nobody
Creator
2korden

Comments

Comment #0 by 2korden — 2009-08-31T10:52:46Z
(A duplicate, probably, but I couldn't find exact same issue) Here is a test case: module A; import std.stdio : writeln; module B; import A; void main() { writeln("this line shouldn't compile"); }
Comment #1 by matti.niemenmaa+dbugzilla — 2009-08-31T11:56:41Z
*** This issue has been marked as a duplicate of issue 314 ***