https://issues.dlang.org/show_bug.cgi?id=19717
Issue ID: 19717
Summary: ICE/segfault when using __traits(getMember) on
overloaded function with "undefined identifier" error
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
Reduced code:
```
enum bar = __traits(getMember, mixin(__MODULE__), "foo");
auto foo() {
return foo();
}
void foo(Foo) {}
```
This also prints a misleading error: `Error: cannot overload both property and
non-property functions`
The error appears to have been introduced after DMD 2.070.2.
--