https://issues.dlang.org/show_bug.cgi?id=18641
--- Comment #6 from Manu <turkey...@gmail.com> --- Ohhh wow. Interesting hack! Does C++ do anything like that? What sort of functions are generated but never called? I kinda imagine that generating a function would imply you intend to call it... what other mechanisms generate functions but don't call them? Does CTFE emit a lot of these? It sounds like this is a problem that could be addressed in DMD... like, it should be able to keep a record of whether each function was generated by a mechanism that should or shouldn't add it to the object's symbol table? --