Skip to content

Commit 8e497ad

Browse files
author
KristofferC
committed
fixup! Don't filter Core methods from newly-inferred list (#58510)
1 parent 803bb01 commit 8e497ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/precompile.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2189,7 +2189,7 @@ precompile_test_harness("Pre-compile Core methods") do load_path
21892189
invokelatest() do
21902190
let tt = Tuple{Type{Vector{CorePrecompilation.Foo}}, UndefInitializer, Tuple{Int}},
21912191
match = first(Base._methods_by_ftype(tt, -1, Base.get_world_counter())),
2192-
mi = Base.specialize_method(match)
2192+
mi = Core.Compiler.specialize_method(match)
21932193
@test isdefined(mi, :cache)
21942194
@test mi.cache.max_world === typemax(UInt)
21952195
@test mi.cache.invoke != C_NULL

0 commit comments

Comments
 (0)