D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3275 - Private selective imports are visible in another module
Summary: Private selective imports are visible in another module
Status: RESOLVED DUPLICATE of issue 314
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other Windows
: P2 normal
Assignee: No Owner
URL:
Keywords: accepts-invalid
Depends on:
Blocks:
 
Reported: 2009-08-31 10:52 UTC by Koroskin Denis
Modified: 2015-06-09 01:28 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Koroskin Denis 2009-08-31 10:52:46 UTC
(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 Matti Niemenmaa 2009-08-31 11:56:41 UTC

*** This issue has been marked as a duplicate of issue 314 ***