In playing with @snoopr, I got
inserting joinpath(uri::URIs.URI, parts::String...) in URIs at /Users/tlienart/.julia/packages/URIs/1jrj1/src/URIs.jl:466 invalidated:
mt_backedges: 1: signature Tuple{typeof(joinpath), Any, String} triggered MethodInstance for Artifacts.jointail(::Any, ::String) (0 children)
following the docs I tried:
method_invalidations = trees[1]
root = method_invalidations.backedges[end]
this failed with
ERROR: BoundsError: attempt to access 0-element Vector{SnoopCompile.InstanceNode} at index [0]
Stacktrace:
[1] getindex(A::Vector{SnoopCompile.InstanceNode}, i1::Int64)
@ Base ./array.jl:787
[2] top-level scope
@ none:1
so maybe the doc should just clarify why there may not be such a backedge?