Skip to content
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

Merged
merged 1 commit into from
May 17, 2023
Merged

improve inferrability of loading.jl #49812

merged 1 commit into from
May 17, 2023

Conversation

aviatesk
Copy link
Member

No description provided.

@@ -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
Copy link
Member

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?

Copy link
Member Author

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.

@aviatesk aviatesk merged commit ff012aa into master May 17, 2023
@aviatesk aviatesk deleted the avi/loading branch May 17, 2023 08:52
@KristofferC KristofferC added the backport 1.9 Change should be backported to release-1.9 label May 17, 2023
aviatesk added a commit that referenced this pull request May 17, 2023
#49812 introduced a bug and broke the CI.
This commit fixes it up.
KristofferC pushed a commit that referenced this pull request May 17, 2023
#49812 introduced a bug and broke the CI.
This commit fixes it up.
@KristofferC KristofferC mentioned this pull request May 19, 2023
51 tasks
KristofferC pushed a commit that referenced this pull request May 19, 2023
#49812 introduced a bug and broke the CI.
This commit fixes it up.

(cherry picked from commit 869c70e)
KristofferC pushed a commit that referenced this pull request May 27, 2023
#49812 introduced a bug and broke the CI.
This commit fixes it up.

(cherry picked from commit 869c70e)
@KristofferC KristofferC removed the backport 1.9 Change should be backported to release-1.9 label May 28, 2023
kpamnany pushed a commit that referenced this pull request Jun 21, 2023
#49812 introduced a bug and broke the CI.
This commit fixes it up.

(cherry picked from commit 869c70e)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants