Skip to content

Commit

Permalink
other way 'round
Browse files Browse the repository at this point in the history
  • Loading branch information
jumerckx committed Dec 14, 2024
1 parent 8073ecd commit 585c485
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ function call_with_reactant_generator(
)

result = Core.Compiler.InferenceResult(mi, Core.Compiler.typeinf_lattice(interp))
frame = Core.Compiler.InferenceState(result, VERSION < v"1.11-" ? :no : :global, interp) #=cache_mode=#
frame = Core.Compiler.InferenceState(result, VERSION < v"1.11-" ? :local : :no, interp) #=cache_mode=#
@assert frame !== nothing
Core.Compiler.typeinf(interp, frame)
@static if VERSION >= v"1.11"
Expand Down

0 comments on commit 585c485

Please sign in to comment.