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

Declare Meta before using it in @intertypes #141

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

Keno
Copy link
Contributor

@Keno Keno commented Jun 6, 2024

The @intertypes macro assigns mod.Meta without declaring it. This was accidentally allowed in Julia 1.9/1.10 due to a dropped error check, but will likely be disallowed again in Julia 1.11. See JuliaLang/julia#54678.

This just declares it global (which is what happened implicitly on Julia 1.10/1.11). That said, you may want a Const instead, in which case you would need a different fix.

The `@intertypes` macro assigns `mod.Meta` without declaring it.
This was accidentally allowed in Julia 1.9/1.10 due to a dropped
error check, but will likely be disallowed again in Julia 1.11.
See JuliaLang/julia#54678.

This just declares it `global` (which is what happened implicitly
on Julia 1.10/1.11). That said, you may want a `Const` instead,
in which case you would need a different fix.
@jpfairbanks jpfairbanks merged commit 6ed8b8b into AlgebraicJulia:main Jun 6, 2024
7 checks passed
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.

2 participants