[Issue 21228] Templated toString silently ignored when it can't be instantiated

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 6 12:32:38 UTC 2020


--- Comment #4 from Joseph Rushton Wakeling <joseph.wakeling at webdrake.net> ---
One thing I don't understand here: why is the missing symbol not detected
_anyway_ regardless of whether any attempt is made to instantiate the template
or not?  This feels like a more general problem where bugs in templates remain
unflagged by the compiler if the templated code is not used.

It strikes me that if it's possible to address that, it might address the
observed problem more robustly than just addressing how phobos consumes the


More information about the Digitalmars-d-bugs mailing list