https://d.puremagic.com/issues/show_bug.cgi?id=12398



--- Comment #7 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2014-03-19 
01:11:01 PDT ---
(In reply to comment #6)
> Oh, I see. Thanks.
> 
> Invalid? Or enhancement? I think selective imports ought to also act as static
> imports.

For that I suggest:

-----
static import std.stream : Stream;

void main()
{
    std.stream.File f;
}
-----

This is currently disallowed:

Error: static import stream cannot have an import bind list

So it wouldn't be a breaking change to add support.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to