-
Couldn't load subscription status.
- Fork 122
Open
Description
It seems I cannot precompile code that makes use of uparse. In Julia 1.9 I get the error
nested task error: Evaluation into the closed module `Unitful` breaks incremental compilation because the side effects will not be permanent. This is likely due to some other module mutating `Unitful` with `eval` during precompilation - don't do this.
Stacktrace:
[1] eval
@ ./boot.jl:370 [inlined]
[2] eval
@ ~/.julia/packages/Unitful/KGZ8U/src/Unitful.jl:1 [inlined]
[3] uparse(str::String; unit_context::Module)
@ Unitful ~/.julia/packages/Unitful/KGZ8U/src/user.jl:662
[4] uparse
@ ~/.julia/packages/Unitful/KGZ8U/src/user.jl:660 [inlined]while trying to precompile a package that has code that uses uparse in its @compile_workload block (using PrecompilationTools). The code just calls uparse on a string (no module argument).
maxstb, YoungFaithful and niklashaaYoungFaithful
Metadata
Metadata
Assignees
Labels
No labels