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 haven't been able to create a minimal test case. This is my environment
Julia 1.7.2
JET 0.5.7
Running report_package on my package A reports no issues
Running report_package on a package B which uses A reports an issue on a function on package A
Running report_call or @report_call on the failing function I get no error.
│┌ @ /home/dani/source/repos/sc-engine/src/utils/tracks.jl:139 SCEngine.Utils.#track#51(results, _3, r)
│││┌ @ logging.jl:360 msg = Base.string("Tracking performance for '", Base.getproperty(r, :key), "' for tags ", Base.getproperty(r, :tags), ":")
││││┌ @ strings/io.jl:185 Base.print_to_string(xs...)
│││││┌ @ strings/io.jl:144 Base.print(s, x)
││││││┌ @ strings/io.jl:35 Base.show(io, x)
│││││││┌ @ arrayshow.jl:481 Base.show_vector(io, X)
││││││││┌ @ arrayshow.jl:510 #self#(io, v, '[', ']')
│││││││││┌ @ arrayshow.jl:510 Base.typeinfo_prefix(io, v)
││││││││││┌ @ arrayshow.jl:578 goto %49 if not Base.typeinfo_implicit(eltype_X)
│││││││││││ for 1 of 2 union split cases, non-boolean (Missing) used in boolean context: goto %49 if not Base.typeinfo_implicit(eltype_X::Type{Pair{String, String}})::Union{Missing, Bool}
││││││││││└────────────────────
This is the relevant code
const TrackFieldValue = Pair{String, String}
const TrackFieldsType = AbstractVector{TrackFieldValue}
struct PerformanceTracker
tags::TrackFieldsType
end
# the line below reports the issue
function track(r::PerformanceTracker)
@info "Tracking performance for tags $(r.tags):"
end
Adding skipmissing does not help @info "Tracking performance for tags $(skipmissing(r.tags)):"
Strangely, none of the following lines trigger the report
I haven't been able to create a minimal test case. This is my environment
This is the relevant code
Adding skipmissing does not help
@info "Tracking performance for tags $(skipmissing(r.tags)):"
Strangely, none of the following lines trigger the report
Any idea on what's the isssue?
thanks
The text was updated successfully, but these errors were encountered: