Open
Description
opened on Apr 23, 2024
In an otherwise empty directory, I have j.jl
:
f( ::Tuple{}) = 1
f(t::Tuple{Int}) = only(t)
f(())
f((3,))
When I run julia --code-coverage=@ j.jl
, I get:
- f( ::Tuple{}) = 1
1 f(t::Tuple{Int}) = only(t)
-
- f(())
- f((3,))
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
Activity