On 12/14/2016 03:13 PM, bitwise wrote:
On Tuesday, 13 December 2016 at 22:33:24 UTC, Andrei Alexandrescu wrote:
Destroy.

https://github.com/dlang/DIPs/pull/51/files


Andrei

I think the DIP indicated you may have considered this, but why not just
remove the requirement of 'static import ..' for using fully qualified
names?

struct Buffered(Range) if (std.range.isInputRange!Range)
{
    import std.range;
    // ...
}

You could then simply qualify any parameters or constraints and use
local imports for the body.

We'd like people and simplistic tools such as grep to indicate quickly where imports are present. -- Andrei

Reply via email to