Closed Geod24 closed 3 years ago
assert(0) will be lowered to an HLT in release mode. This blocks upstream DMD, as DIP1034 will introduce noreturn, which correctly detects that abort does not return, and subsequently triggers a "Statement is not reachable" on the return.
noreturn
abort
return
Merging #840 (3970ebd) into v6.x.x (81050e0) will decrease coverage by 0.00%. The diff coverage is 0.00%.
0.00%
Of course 0% of diff hit, it's an assert(0).
assert(0)
assert(0) will be lowered to an HLT in release mode. This blocks upstream DMD, as DIP1034 will introduce
noreturn
, which correctly detects thatabort
does not return, and subsequently triggers a "Statement is not reachable" on thereturn
.