You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
julia> versioninfo() Julia Version 1.12.0-DEV.387 Commit b5bfd83a3d0 (2024-04-22 13:12 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 8 × AMD Ryzen 3 5300U with Radeon Graphics WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, znver2) Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores) Environment: JULIA_NUM_PRECOMPILE_TASKS = 3 JULIA_PKG_PRECOMPILE_AUTO = 0
Hitting this here: JuliaArrays/FixedSizeArrays.jl#26
The text was updated successfully, but these errors were encountered: