[Issue 19107] -de produces compilation error, -dw does not

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jul 26 00:48:00 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=19107

--- Comment #3 from Mike Franklin <slavo5150 at yahoo.com> ---
Even further reduced:

--- sing.d
module sing;

alias I(alias A) = A;


--- git.d
import sing : I;


--- manager.d
module manager;
import git;

template all(alias pred)
{
    void all(T)(T t)
        if (is(typeof(I!pred(t))))
    { }
}

void main(string[] args)
{
    args.all!(c => c);
}

--


More information about the Digitalmars-d-bugs mailing list