[Issue 12398] Selective imports no longer act as static imports
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 18 07:46:06 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12398
--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2014-03-18 07:46:02 PDT ---
I think Vlad's test-case was probably from his AE lib. The issue is likely that
'std.stream' was publicly available from within some other module, for example
this works in 2.065:
-----
import std.stdio; // comment this out for failure
import std.stream : Stream;
void main()
{
new std.stream.File(__FILE__);
}
-----
This no longer works in git-head, but I think that's ok.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list