digitalmars.D.bugs - [Issue 18785] New: No way to get list of overloads for a given
- d-bugmail puremagic.com (19/19) Apr 20 2018 https://issues.dlang.org/show_bug.cgi?id=18785
https://issues.dlang.org/show_bug.cgi?id=18785 Issue ID: 18785 Summary: No way to get list of overloads for a given template Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: simen.kjaras gmail.com __traits(getOverloads) only works on regular functions, and do not include templated overloads. Simply adding them to getOverloads's result would be a breaking change. I therefore propose adding a new trait - getAllOverloads - that returns all symbols in an overload set, be they types, templates, functions, or otherwise. --
Apr 20 2018