[Issue 21251] parameter UDA type not equal to itself

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 16 06:24:00 UTC 2020


Simen Kjaeraas <simen.kjaras at gmail.com> changed:

           What    |Removed                     |Added
                 CC|                            |simen.kjaras at gmail.com

--- Comment #1 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
Also, this works:

alias T = __traits(getAttributes, P[0 .. 1])[0];
static assert(is(T == A));


More information about the Digitalmars-d-bugs mailing list