On 3/28/2016 9:38 PM, Vladimir Panteleev wrote:
Ah, OK. Though, this is something that could be improved in the implementation
without changing the language. DMD should not emit code that's not called in the
module, and not callable from outside the module due to e.g. being private.
Probably would help with template bloat, too. LTO would probably take care of
that in theory, I wonder if LDC's or GDC's LTO doesn't have this issue (not that
it would help testing Phobos coverage).


Or one could write unit tests specifically for the helper functions. (I've done that.)

Reply via email to