[Issue 12398] Selective imports no longer act as static imports
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 18 07:56:03 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=12398
--- Comment #5 from Kenji Hara <k.hara.pg at gmail.com> 2014-03-18 07:55:58 PDT ---
(In reply to comment #4)
> 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.
Yes, it is exactly the issue 313, it should be rejected in git-head.
--
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