https://issues.dlang.org/show_bug.cgi?id=18624
Issue ID: 18624
Summary: getSymbolsByUDA produces wrong result if one of the
symbols having the UDA is a function
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
Priority: P1
Component: phobos
Assignee: [email protected]
Reporter: [email protected]
The code
"""
enum Attr;
struct A
{
@Attr void a();
@Attr void a(int n);
void b();
@Attr void c();
}
static assert(getSymbolsByUDA!(A, Attr).stringof == "tuple(a, a, c)");
"""
fails
--