[Issue 14855] -cov should ignore assert(0)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Aug 7 06:29:44 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=14855

greensunny12 at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greensunny12 at gmail.com

--- Comment #4 from greensunny12 at gmail.com ---
> I understand that 100% coverage is a great goal. But assert(0) is executable code and so it is correctly in the coverage report.

Maybe we can add a compiler flag or API in Druntime to change the behavior
based on a user's opinion?

--


More information about the Digitalmars-d-bugs mailing list