Open nsajko opened 2 months ago
Judging by #54293, @kshyatt , it seems like methods such as the one below have the same issue as above, coverage isn't being recorded for them:
ATAN_1_O_2_HI(::Type{Float64}) = 4.63647609000806093515e-01
I guess (just guessing) this comes down to the different ways a function can be executed. If a method only ever gets executed via that abstract interpretation thing/constant folding, I guess it doesn't get recorded at all for the purposes of code coverage.
Usually it is constant-folded values that get evaluated, but not run so they end up not getting counted
In an otherwise empty directory, I have
j.jl
:When I run
julia --code-coverage=@ j.jl
, I get:So the empty tuple method doesn't seem to get any code coverage recorded.
Hitting this here: https://github.com/JuliaArrays/FixedSizeArrays.jl/pull/26