We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2ddb17 commit 6b853e2Copy full SHA for 6b853e2
src/analysis/interpreter.jl
@@ -153,10 +153,13 @@ end
153
Diffractor.disable_forward(interp::DAEInterpreter) = CC.NativeInterpreter(interp.world)
154
155
function CC.InferenceParams(::DAEInterpreter)
156
- return CC.InferenceParams(;
157
- unoptimize_throw_blocks=false,
158
- assume_bindings_static=true,
159
- ignore_recursion_hardlimit=true)
+ args = (;
+ assume_bindings_static=true,
+ ignore_recursion_hardlimit=true)
+ if VERSION < v"1.12.0-DEV.1017"
160
+ args = (; unoptimize_throw_blocks=false, args...)
161
+ end
162
+ return CC.InferenceParams(; args...)
163
end
164
function CC.OptimizationParams(::DAEInterpreter)
165
opt_params = CC.OptimizationParams(;
0 commit comments