https://issues.dlang.org/show_bug.cgi?id=15899
--- Comment #2 from Edwin van Leeuwen <ed...@tkwsping.nl> --- That makes sense, thanks for the explanation. Might be useful to add an isField attribute to traits. Previously I assumed that if something !isSomeFunction it would be a field, but that does not seem to be the case. Now changed that assumption to also ignore templates. --