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

Simen Kjaeraas <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from Simen Kjaeraas <[email protected]> ---
Also, this works:

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

--

Reply via email to