Bug 20931 – code which was executed at ctfe should be accounted for in coverage

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-06-15T12:55:49Z
Last change time
2020-07-15T09:10:57Z
Keywords
pull
Assigned to
uplink.coder
Creator
uplink.coder

Comments

Comment #0 by uplink.coder — 2020-06-15T12:55:49Z
Just like the title suggests. CTFE should be included in coverage reports. Related: https://issues.dlang.org/show_bug.cgi?id=15590
Comment #1 by dlang-bot — 2020-06-15T14:39:03Z
@UplinkCoder updated dlang/dmd pull request #11279 "Fix #20931 Take CTFE into account for coverage reports" fixing this issue: - fix Issue 20931 take CTFE into account when generating coverage reports Copy incUsage directives from s2ir and e2ir https://github.com/dlang/dmd/pull/11279
Comment #2 by b2.temp — 2020-06-17T01:59:42Z
*** Issue 15590 has been marked as a duplicate of this issue. ***
Comment #3 by dlang-bot — 2020-07-15T09:10:57Z
dlang/dmd pull request #11279 "Fix #20931 Take CTFE into account for coverage reports" was merged into master: - 070856aad9e664074035156774919595e3067152 by Stefan Koch: Fix Issue 20931 take CTFE into account when generating coverage reports Copy incUsage directives from s2ir and e2ir https://github.com/dlang/dmd/pull/11279