Skip to content

Commit

Permalink
Extract specializations, 1.9-style (#49467)
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Apr 23, 2023
1 parent 7c6dd4c commit 29889c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/precompile.jl
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@ precompile_test_harness("code caching") do dir
@test isa(invalidations[j-2], Type)
@test isa(invalidations[j+1], Vector{Any}) # [nbits(::UInt8)]
m = only(methods(MB.useA2))
mi = only(Base.specializations(m))
mi = first(m.specializations)
@test !hasvalid(mi, world)
@test mi invalidations

Expand Down

0 comments on commit 29889c7

Please sign in to comment.