https://issues.dlang.org/show_bug.cgi?id=11079
Andrej Mitrovic <andrej.mitrov...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #2 from Andrej Mitrovic <andrej.mitrov...@gmail.com> --- Walter's comment from here: https://github.com/D-Programming-Language/dmd/pull/3501#issuecomment-41484446 > Should it work? > > No. It's not a function until it is instantiated. In fact, the attributes > cannot be determined until it is instantiated, because attributes are > inferred on function templates. So I'm marking this as invalid. But maybe a set of better docs need to be made for the traits page. --