Skip to content

Commit

Permalink
shield Base.require from invalidations when loading Symbolics.jl (#…
Browse files Browse the repository at this point in the history
…49604)

(cherry picked from commit 5039d8a)
  • Loading branch information
KristofferC authored and KristofferC committed May 8, 2023
1 parent f7b39e7 commit c9f59c9
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 @@ -747,10 +747,10 @@ function explicit_project_deps_get(project_file::String, name::String)::Union{No
return nothing
end

function is_v1_format_manifest(raw_manifest::Dict)
function is_v1_format_manifest(raw_manifest::Dict{String})
if haskey(raw_manifest, "manifest_format")
mf = raw_manifest["manifest_format"]
if mf isa Dict && haskey(mf, "uuid")
if mf isa Dict{String} && haskey(mf, "uuid")
# the off-chance where an old format manifest has a dep called "manifest_format"
return true
end
Expand Down

0 comments on commit c9f59c9

Please sign in to comment.