Repository navigation
Support Julia 1.13 - #88
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7fd6def67a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| @static if isdefined(Base, :code_ircode_by_type) && v"1.12.0-" <= VERSION | ||
| @unstable include("safe/auto_ir.jl") |
There was a problem hiding this comment.
Update the advertised Julia support range
When the package runs on Julia 1.13, this condition now loads the real checker, but README.md:59 still says the feature requires Julia 1.12.x and falls back to pass-through stubs on 1.13+. This directly contradicts the change and may lead 1.13 users to assume borrow checking is disabled; update the version guidance alongside the gate.
Useful? React with 👍 / 👎.
7fd6def to
8f248c3
Compare
The lock-effect registry entries, the higher-order lock(f, l) model, and all four lock testsets are merged into MilesCranmer#88 (ported to the dissolved src/safe layout and verified green on 1.12 and 1.13-rc3). The src/auto module layout this branch was built on was dissolved by MilesCranmer#87, so the remaining rename is superseded upstream.
The String/SubString ownership exemption and both testsets are merged into MilesCranmer#88 (ported to the dissolved src/safe layout, green on 1.12 and 1.13-rc3).
MilesCranmer#88 removes the 1.13 ceiling instead of gating it off, so this branch's gate-tightening and README caveat no longer apply. Its README version line is updated in MilesCranmer#88.
Use Compiler.InferenceCache when the compiler exposes it and pass a source location to generated_body_to_codeinfo when required. Keep compiler-IR checking on Julia 1.12 and 1.13, with tested stubs on later versions. Treat String and SubString as value-semantic and remove the obsolete BORROWCHECKER_ONLY_AUTO test switch. Co-authored-by: Miles Cranmer <miles.cranmer@gmail.com>
8ab6f24 to
5e4da9f
Compare
Summary
Core.Compiler.InferenceCachewhen that API is available.generated_body_to_codeinfowhen required by the compiler API.StringandSubStringas value-semantic.BORROWCHECKER_ONLY_AUTOtest switch.Verification
All three runs used
Pkg.test()with the originaltest/Project.tomlstructure.