[Issue 14790] coverage merge should detect changed source code
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jan 27 02:33:01 UTC 2021
https://issues.dlang.org/show_bug.cgi?id=14790
Dlang Bot <dlang-bot at dlang.rocks> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/druntime pull request #3341 "Fix Issue 14790: rt: cover: coverage merge
should detect changed source code" was merged into master:
- 6c7dc69cbe777eb5a8df20afc99220a1dcf0ae09 by Luís Ferreira:
Fix Issue 14790: rt: cover: coverage merge should detect changed source code
Merging different versions of the same source file could lead to mismatched
covered lines if the source code actually changes. Changing the .lst file
format will open a huge breaking change and rely on timestamps is
impractical.
As an alternative to this, we can deeply compare the source code with
generated
.lst which also has a copy of the original source code.
Signed-off-by: Luís Ferreira <contact at lsferreira.net>
https://github.com/dlang/druntime/pull/3341
--
More information about the Digitalmars-d-bugs
mailing list