https://issues.dlang.org/show_bug.cgi?id=18839
Issue ID: 18839
Summary: Crash on getMember of function masking imported
template function
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
bar.d:
void fun(T)();
foo.d:
module foo;
import bar : fun;
void fun() { }
// either of those lines crashes
pragma(msg, __traits(getMember, foo, "fun").stringof);
static assert(__traits(compiles, __traits(getMember, foo, "fun")));
--