From abb75d96542f310515beac161227258b4bdd02b3 Mon Sep 17 00:00:00 2001 From: Ian Atol Date: Mon, 4 Apr 2022 10:07:37 -0700 Subject: [PATCH] remove assert --- base/compiler/abstractinterpretation.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/base/compiler/abstractinterpretation.jl b/base/compiler/abstractinterpretation.jl index 87c66878dd825..7f762e770cfab 100644 --- a/base/compiler/abstractinterpretation.jl +++ b/base/compiler/abstractinterpretation.jl @@ -1798,7 +1798,6 @@ end function abstract_eval_value_expr(interp::AbstractInterpreter, e::Expr, sv::Union{InferenceState, IRCode}) if e.head === :static_parameter - @assert isa(sv, InferenceState) n = e.args[1]::Int t = Any if 1 <= n <= length(sv.sptypes)