← Back to index
|
Original Bugzilla link
Bug 18624 – getSymbolsByUDA produces wrong result if one of the symbols having the UDA is a function
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-03-17T13:14:39Z
Last change time
2020-03-21T03:56:34Z
Assigned to
No Owner
Creator
Spoov
Comments
Comment #0
by spoov0.707 — 2018-03-17T13:14:39Z
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
Comment #1
by simen.kjaras — 2018-03-17T14:59:35Z
PR:
https://github.com/dlang/phobos/pull/6292
Comment #2
by spoov0.707 — 2018-03-17T20:23:33Z
https://github.com/dlang/phobos/pull/6290
Comment #3
by spoov0.707 — 2018-03-19T18:09:55Z
*** Issue 18555 has been marked as a duplicate of this issue. ***
Comment #4
by simen.kjaras — 2018-03-25T11:42:30Z
*** Issue 18660 has been marked as a duplicate of this issue. ***
Comment #5
by b2.temp — 2018-03-25T13:02:31Z
*** Issue 18660 has been marked as a duplicate of this issue. ***
Comment #6
by github-bugzilla — 2018-03-26T14:07:21Z
Commits pushed to master at
https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/9ab9b017ae93466394d4b74808735ace5e48807a
Fix Issue 18624 - wrong behavior of getSymbolsByUDA if one of the symbols having the UDA is a function
https://github.com/dlang/phobos/commit/e5d92c11bf9d1aba245a18decb875f587569df6b
Merge pull request #6290 from Spoov/fix_getSymbolsByUDA Fix Issue 18624 - wrong behavior of getSymbolsByUDA if one of the symbols having th…