[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


https://issues.dlang.org/show_bug.cgi?id=21251

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