Constants doesn't have UDA's?

2013-06-09 Thread Temtaime
Hello guys! @("att") int t = 1; auto b = [ __traits(getAttributes, t) ]; Works. @("att") enum int t = 1; auto b = [ __traits(getAttributes, t) ]; Works also. @("att") const int t = 1; auto b = [ __traits(getAttributes, t) ]; Doesn't work. Error: first argument is not a symbol Why? Also a li

Re: Constants doesn't have UDA's?

2013-06-10 Thread Jack Applegame
http://forum.dlang.org/thread/htuakrtvoyymappje...@forum.dlang.org

Re: Constants doesn't have UDA's?

2013-06-10 Thread Temtaime
Oh, i see, thanks. P.S. туй васю нигодяй.