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

Make Pkg more robust to poor inference #4044

Merged
merged 1 commit into from
Oct 11, 2024
Merged

Conversation

Keno
Copy link
Member

@Keno Keno commented Oct 11, 2024

A few things in Pkg rely on inference to figure out (empty) collection types and error if inference can't figure it because the subsequent method signatures are narrow.
I wouldn't really care for any other package, but when working on inference it's not uncommon for it to temporarily be somewhat broken. It's useful to still have Pkg available so that the build finishes and that it is possible to install extra packages for debugging.

A few things in Pkg rely on inference to figure out (empty)
collection types and error if inference can't figure it because
the subsequent method signatures are narrow.
I wouldn't really care for any other package, but when working
on inference it's not uncommon for it to temporarily be somewhat
broken. It's useful to still have Pkg available so that the build
finishes and that it is possible to install extra packages for
debugging.
@IanButterworth IanButterworth merged commit fbaa2e3 into master Oct 11, 2024
7 checks passed
@IanButterworth IanButterworth deleted the kf/badinfrobust branch October 11, 2024 23:02
IanButterworth pushed a commit to JuliaLang/julia that referenced this pull request Oct 13, 2024
Includes changes from JuliaLang/Pkg.jl#4038 and
JuliaLang/Pkg.jl#4044.

Co-authored-by: Kristoffer Carlsson <kcarlsson89@gmail.com>
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.

2 participants