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
  • Loading branch information
KristofferC committed May 3, 2023
1 parent b66f63c commit 5039d8a
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 5039d8a

Please sign in to comment.