Skip to content

Commit

Permalink
adjustment to #56574
Browse files Browse the repository at this point in the history
  • Loading branch information
aviatesk committed Nov 21, 2024
1 parent 3cb47b6 commit a866e4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/loading.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1603,8 +1603,8 @@ function verify_method(codeinst::CodeInstance, stack::Vector{CodeInstance}, visi
@atomic child.min_world = minworld
end
@atomic child.max_world = maxworld
@assert visiting[codeinst] == length(stack) + 1
delete!(visiting, codeinst)
@assert visiting[child] == length(stack) + 1
delete!(visiting, child)
invalidations = _jl_debug_method_invalidation[]
if invalidations !== nothing && maxworld < current_world
push!(invalidations, child, "verify_methods", cause)
Expand Down

0 comments on commit a866e4b

Please sign in to comment.