https://issues.dlang.org/show_bug.cgi?id=18839
--- Comment #1 from FeepingCreature <[email protected]> --- Further reduction: void fun2(T)(); alias fun = fun2; void fun() { } pragma(msg, __traits(getMember, foo, "fun").stringof); static assert(__traits(compiles, __traits(getMember, foo, "fun"))); Note that the order of functions - first alias, then mask - is important. --
