Skip to content

Commit 6b853e2

Browse files
committed
1 parent d2ddb17 commit 6b853e2

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/analysis/interpreter.jl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,10 +153,13 @@ end
153153
Diffractor.disable_forward(interp::DAEInterpreter) = CC.NativeInterpreter(interp.world)
154154

155155
function CC.InferenceParams(::DAEInterpreter)
156-
return CC.InferenceParams(;
157-
unoptimize_throw_blocks=false,
158-
assume_bindings_static=true,
159-
ignore_recursion_hardlimit=true)
156+
args = (;
157+
assume_bindings_static=true,
158+
ignore_recursion_hardlimit=true)
159+
if VERSION < v"1.12.0-DEV.1017"
160+
args = (; unoptimize_throw_blocks=false, args...)
161+
end
162+
return CC.InferenceParams(; args...)
160163
end
161164
function CC.OptimizationParams(::DAEInterpreter)
162165
opt_params = CC.OptimizationParams(;

0 commit comments

Comments
 (0)