testing for deprecation
user1234 via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Aug 26 00:17:49 PDT 2017
On Friday, 25 August 2017 at 20:35:52 UTC, jmh530 wrote:
> On Thursday, 1 September 2016 at 11:13:42 UTC, rikki cattermole
> wrote:
>>
>> That is a first that somebody wanted it.
>> Bug report please!
>
> I just ran across this with
>
> deprecated {
> void foo();
> }
> void main() {
> pragma(msg, __traits(getAttributes, foo));
> }
>
> producing just tuple().
getAttributes is made for UDAs only.
More information about the Digitalmars-d-learn
mailing list