On 3/14/2013 12:53 PM, Dmitry Olshansky wrote:
No it's not. It's I'm out of words to even begin to describe how it doesn't do what's needed in this case. To start 'dmd -cov test.d' doesn't instantiate all of templates (or generate code to do so) with the right sets of types auto-magically.
For the following program: ---------test.d------------- import core.stdc.stdio; public import std.whatever; int main() { printf("Success!\n"); return 0; } ---------------------------- Try compiling: dmd -cov test.d std\whatever -unittest and examine std-whatever.lst. We can do a lot, lot better before we need something better than -cov.