Thread overview
[Issue 21251] parameter UDA type not equal to itself
Sep 16, 2020
Adam D. Ruppe
Sep 16, 2020
Simen Kjaeraas
Dec 17, 2022
Iain Buclaw
September 16, 2020
https://issues.dlang.org/show_bug.cgi?id=21251

Adam D. Ruppe <destructionator@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |destructionator@gmail.com

--
September 16, 2020
https://issues.dlang.org/show_bug.cgi?id=21251

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simen.kjaras@gmail.com

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

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

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=21251

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P3

--