March 17, 2018 [Issue 18624] New: getSymbolsByUDA produces wrong result if one of the symbols having the UDA is a function | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com Reporter: spoov0.707@gmail.com 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 -- |
Copyright © 1999-2021 by the D Language Foundation