Skip to content

Conversation

fredrikekre
Copy link
Member

No description provided.

LilithHafner and others added 4 commits July 22, 2025 18:17
(cherry picked from commit 669f1d6, PR #544)
(cherry picked from commit ef9b8dd)
Co-authored-by: Sebastian Pfitzner <[email protected]>
(cherry picked from commit 542dcd7, PR #553)
…) (#589)

The variable `i` was unintentionally shared between the generator
closure in `_register_kinds!` and another part of the body of
`_register_kinds!`. Thus `i` was boxed, causing trouble for inference.

Fix this by moving the part of `_register_kinds!` with `i` to a new
function.

Fixing this should make the sysimage more resistant to invalidation,
once the change propagates to Julia itself.

(cherry picked from commit 00bd17e)
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.

5 participants