Commit 7200046
committed
Adjust to upcoming world age change in Julia 1.12
Julia 1.12 will change where world age increments are being inserted
implicitly. The expansion of `@constinferred` is relying on an implicit
world age increment between `eval` and the subsequent evaluation, which
may go away in 1.12. Add an explicit marker to force the increment to
be retained here. This preserves existing behavior. It may be the case
that an alternative world age mechanism (e.g. invokelatest) is more
appropriate, but it's hard for me to evaluate without full context.1 parent dd88a53 commit 7200046
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| 182 | + | |
181 | 183 | | |
182 | 184 | | |
183 | 185 | | |
| |||
0 commit comments