Commit 359bcdd
committed
Declare
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.Meta before using it in @intertypes
1 parent a24aeea commit 359bcdd
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
379 | 379 | | |
380 | 380 | | |
381 | 381 | | |
| 382 | + | |
382 | 383 | | |
383 | 384 | | |
384 | 385 | | |
| |||
0 commit comments