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

Adjust to upcoming Julia 1.12 change in implicit world age increment #40

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Keno
Copy link

@Keno Keno commented Nov 20, 2024

In 1.12, we'll be cleaning up and making consistent when world age increment happens. This package is currently relying on implicit world age increments that may go away in 1.12. See JuliaLang/julia#56509. This PR adds appropriate annotations that the world age increment is required after the include. This PR strictly retains existing behavior. A potentially better solution may be to use invokelatest and/or move more work out of the macro, which would also allow this code to work at non-toplevel (which may nor may not be desirable).

In 1.12, we'll be cleaning up and making consistent when world age increment happens. This package is currently relying on implicit world age increments that may go away in 1.12. See JuliaLang/julia#56509. This PR adds appropriate annotations that the world age increment is required after the include. This PR strictly retains existing behavior. A potentially better solution may be to use invokelatest and/or move more work out of the macro, which would also allow this code to work at non-toplevel (which may nor may not be desirable).
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.

1 participant