UDAs and no complaints about need 'this'

2015-04-09 Thread John Colvin via Digitalmars-d
struct BigLongStructName { int evenLongerMemberName; } struct QN{} unittest { BigLongStructName bigLongStructName; @(bigLongStructName.evenLongerMemberName) QN quickName; __traits(getAttributes, quickName)[0]++; } Is it just me or is it

Re: UDAs and no complaints about need 'this'

2015-04-09 Thread jkpl via Digitalmars-d
On Thursday, 9 April 2015 at 09:53:15 UTC, John Colvin wrote: struct BigLongStructName { int evenLongerMemberName; } struct QN{} unittest { BigLongStructName bigLongStructName; @(bigLongStructName.evenLongerMemberName) QN quickName;

Re: UDAs and no complaints about need 'this'

2015-04-09 Thread Maxim Fomin via Digitalmars-d
On Thursday, 9 April 2015 at 09:53:15 UTC, John Colvin wrote: struct BigLongStructName { int evenLongerMemberName; } struct QN{} unittest { BigLongStructName bigLongStructName; @(bigLongStructName.evenLongerMemberName) QN quickName;