I still ice with this, and it passed in 2.065:
//----
enum canDoIt(R) = is(typeof(Wrapper!R));
struct Wrapper(R)
{
R r;
static if (canDoIt!R)
{}
}
Wrapper!int a;
//----
Comment #4 by k.hara.pg — 2014-05-12T13:32:52Z
(In reply to monarchdodra from comment #3)
> I still ice with this, and it passed in 2.065:
>
> //----
> enum canDoIt(R) = is(typeof(Wrapper!R));
>
> struct Wrapper(R)
> {
> R r;
> static if (canDoIt!R)
> {}
> }
>
> Wrapper!int a;
> //----
https://github.com/D-Programming-Language/dmd/pull/3544
Comment #5 by github-bugzilla — 2014-05-13T19:37:58Z