Open
Description
Found while debugging the failures of FieldFlags.jl on nightly - the tests run fine on 1.9, haven't yet tried to bisect. Since it's not (yet) through its registration period, you'll have to ]add
the github repo directly for reproducing.
Either way, the failures are reproducible with
julia --color=yes --project=. -e 'import Pkg; Pkg.test(;coverage=true)'
but not with
julia --color=yes --project=. -e 'import Pkg; Pkg.test(;coverage=false)'
which make the tests run through. I'll see if I can minimize the failure a bit more.
EDIT: For posteriority, a smaller MWE without dependencies:
[sukera@tower ~]$ julia --code-coverage -q
julia> h(x) = iseven(x) ? "string" : 1
h (generic function with 1 method)
julia> g() = h(2)
g (generic function with 1 method)
julia> Base.infer_effects(g,())
(+c,!e,+n,+t,+s,+m,+i)
[sukera@tower ~]$ julia -q
julia> h(x) = iseven(x) ? "string" : 1
h (generic function with 1 method)
julia> g() = h(2)
g (generic function with 1 method)
julia> Base.infer_effects(g,())
(+c,+e,+n,+t,+s,+m,+i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment