-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
improve inferrability of loading.jl #49812
Conversation
@@ -1231,7 +1233,7 @@ function insert_extension_triggers(env::String, pkg::PkgId)::Union{Nothing,Missi | |||
return _insert_extension_triggers(pkg, extensions, weakdeps) | |||
end | |||
|
|||
d_weakdeps = Dict{String, String}() | |||
d_weakdeps = Dict{String, Any}() | |||
for (dep_name, entries) in d | |||
dep_name in weakdeps || continue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this line need to check if it is in the keys of weakdeps?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
weakdeps
here is Vector{String}
always since we handle the weakdeps::Dict{String,Any}
case above.
#49812 introduced a bug and broke the CI. This commit fixes it up.
No description provided.