Has someone encountered similar issues with -cov?

Chris via Digitalmars-d digitalmars-d at puremagic.com
Fri Jul 1 11:05:58 PDT 2016


On Friday, 1 July 2016 at 16:30:41 UTC, Andrei Alexandrescu wrote:
> https://issues.dlang.org/show_bug.cgi?id=16224 -- Andrei

I fail to see why it should not mark it as uncovered in the 
`cube` example. After all the statement is never covered, because 
`do` executes before the condition in `while` is checked. Unless 
you mean it should be optimized away by the compiler, which in 
turn has nothing to do with -cov.


More information about the Digitalmars-d mailing list