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

importing Base.PkId breaks precompilation #44150

Closed
jlapeyre opened this issue Feb 12, 2022 · 2 comments
Closed

importing Base.PkId breaks precompilation #44150

jlapeyre opened this issue Feb 12, 2022 · 2 comments

Comments

@jlapeyre
Copy link
Contributor

jlapeyre commented Feb 12, 2022

julia> VERSION
v"1.7.2"

julia> import Pkg; Pkg.add("Example");
   Resolving package versions...
  No Changes to `~/.julia/environments/v1.7/Project.toml`
  No Changes to `~/.julia/environments/v1.7/Manifest.toml`

julia> import Base.PkgId;

julia> using Example
[ Info: Precompiling Example [7876af07-990d-54b4-ab0e-23690620f79a]
ERROR: UndefVarError: PkgId not defined

The example above does not trigger the bug on 1.8.0-DEV.1455 (2022-02-06)

@jlapeyre jlapeyre changed the title importing Base.PkId breaks precompilation importing Base.PkId breaks precompilation Feb 12, 2022
@KristofferC
Copy link
Member

Fixed by #42329

@jlapeyre
Copy link
Contributor Author

I searched open issues. Neglected to search closed issues!

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

No branches or pull requests

2 participants