[Issue 18839] Crash on getMember of function masking imported template function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon May 7 12:21:01 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=18839
--- Comment #1 from FeepingCreature <default_357-line at yahoo.de> ---
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.
--
More information about the Digitalmars-d-bugs
mailing list