Fix #6: world age error when displaying values from newly loaded packages #8
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
kahliburke/Kaimon.jl!8
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/6-world-age-display-v2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
show,repr, andshowerrorcalls inBase.invokelatestwithin_eval_with_captureCore.eval(Main, expr)loads a package (e.g.using Symbolics), new methods are defined in a newer world age than the REPL backend thread context. Withoutinvokelatest, display calls fail with "method too new to be called from this world context", the exception escapes with package-specific type references, cross-process deserialization fails, and raw binary bytes leak into output.Fixes #6