From 97560e92aa815b740b557b844c472a3d63cb8ef8 Mon Sep 17 00:00:00 2001 From: Shuhei Kadowaki Date: Mon, 21 Aug 2023 17:31:28 +0900 Subject: [PATCH] fix version compat --- src/abstractinterpret/typeinfer.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/abstractinterpret/typeinfer.jl b/src/abstractinterpret/typeinfer.jl index a2871419e..2eef84307 100644 --- a/src/abstractinterpret/typeinfer.jl +++ b/src/abstractinterpret/typeinfer.jl @@ -25,7 +25,7 @@ end @static if VERSION ≥ v"1.10.0-DEV.1345" let # overload `const_prop_call` - @static if VERSION ≥ v"1.11.0-DEV.233" || VERSION ≥ v"1.10.0-beta1.11" + @static if VERSION ≥ v"1.11.0-DEV.233" || v"1.11.0-DEV" > VERSION ≥ v"1.10.0-beta1.11" sigs_ex = :(analyzer::AbstractAnalyzer, mi::MethodInstance, result::MethodCallResult, arginfo::ArgInfo, sv::InferenceState, $(Expr(:kw, :(concrete_eval_result::Union{Nothing,CC.ConstCallResults}), :nothing)))